mirror of
				https://github.com/InsanusMokrassar/TelegramBotApiLibraries.git
				synced 2025-11-04 06:00:24 +00:00 
			
		
		
		
	Compare commits
	
		
			13 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 1bf9a1570f | |||
| f24825bcbc | |||
| 5b560118c0 | |||
| c27b5647d7 | |||
| 6a5cd2f469 | |||
| 69c819162d | |||
| 7a603c21b8 | |||
| bfebd1de50 | |||
| cbbe283305 | |||
| a2dab361cf | |||
| ac89551ac4 | |||
| 0b0d1e4ea5 | |||
| 9b056656e3 | 
							
								
								
									
										3
									
								
								.github/workflows/commit-publish.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/commit-publish.yml
									
									
									
									
										vendored
									
									
								
							@@ -8,9 +8,6 @@ jobs:
 | 
			
		||||
      - uses: actions/setup-java@v1
 | 
			
		||||
        with:
 | 
			
		||||
          java-version: 11
 | 
			
		||||
      - name: Fix android 32.0.0 dx
 | 
			
		||||
        continue-on-error: true
 | 
			
		||||
        run: cd /usr/local/lib/android/sdk/build-tools/32.0.0/ && mv d8 dx && cd lib  && mv d8.jar dx.jar
 | 
			
		||||
      - name: Update version
 | 
			
		||||
        run: |
 | 
			
		||||
          branch="`echo "${{ github.ref }}" | grep -o "[^/]*$"`"
 | 
			
		||||
 
 | 
			
		||||
@@ -4,19 +4,17 @@ org.gradle.parallel=true
 | 
			
		||||
kotlin.js.generate.externals=true
 | 
			
		||||
kotlin.incremental=true
 | 
			
		||||
kotlin.incremental.js=true
 | 
			
		||||
android.useAndroidX=true
 | 
			
		||||
android.enableJetifier=true
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
kotlin_version=1.7.22
 | 
			
		||||
kotlin_serialisation_core_version=1.4.1
 | 
			
		||||
kotlin_version=1.8.10
 | 
			
		||||
kotlin_serialisation_core_version=1.5.0
 | 
			
		||||
 | 
			
		||||
github_release_plugin_version=2.4.1
 | 
			
		||||
 | 
			
		||||
tgbotapi_version=5.0.1
 | 
			
		||||
micro_utils_version=0.16.6
 | 
			
		||||
tgbotapi_version=6.0.1
 | 
			
		||||
micro_utils_version=0.17.1
 | 
			
		||||
exposed_version=0.41.1
 | 
			
		||||
plagubot_version=3.3.1
 | 
			
		||||
plagubot_version=4.0.1
 | 
			
		||||
 | 
			
		||||
# Dokka
 | 
			
		||||
 | 
			
		||||
@@ -25,4 +23,4 @@ dokka_version=1.7.20
 | 
			
		||||
# Project data
 | 
			
		||||
 | 
			
		||||
group=dev.inmo
 | 
			
		||||
version=0.7.1
 | 
			
		||||
version=0.9.1
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,6 @@
 | 
			
		||||
package dev.inmo.tgbotapi.libraries.resender
 | 
			
		||||
 | 
			
		||||
import dev.inmo.tgbotapi.types.FullChatIdentifierSerializer
 | 
			
		||||
import dev.inmo.tgbotapi.types.IdChatIdentifier
 | 
			
		||||
import dev.inmo.tgbotapi.types.MessageId
 | 
			
		||||
import dev.inmo.tgbotapi.types.message.abstracts.Message
 | 
			
		||||
@@ -8,6 +9,7 @@ import kotlinx.serialization.Serializable
 | 
			
		||||
 | 
			
		||||
@Serializable
 | 
			
		||||
data class MessageMetaInfo(
 | 
			
		||||
    @Serializable(FullChatIdentifierSerializer::class)
 | 
			
		||||
    val chatId: IdChatIdentifier,
 | 
			
		||||
    val messageId: MessageId,
 | 
			
		||||
    val group: String? = null
 | 
			
		||||
 
 | 
			
		||||
@@ -68,7 +68,7 @@ class MessagesResender(
 | 
			
		||||
                            )
 | 
			
		||||
                        }
 | 
			
		||||
                    }.getOrNull() ?.let {
 | 
			
		||||
                        messageInfo to it
 | 
			
		||||
                        sourceMessagesToSentMessages.add(messageInfo to it)
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
                else -> {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user