mirror of
https://github.com/InsanusMokrassar/TelegramBotApiLibraries.git
synced 2024-11-17 05:43:51 +00:00
commit
7a603c21b8
@ -16,7 +16,7 @@ github_release_plugin_version=2.4.1
|
||||
tgbotapi_version=5.1.0
|
||||
micro_utils_version=0.16.8
|
||||
exposed_version=0.41.1
|
||||
plagubot_version=3.4.0
|
||||
plagubot_version=3.4.1
|
||||
|
||||
# Dokka
|
||||
|
||||
@ -25,4 +25,4 @@ dokka_version=1.7.20
|
||||
# Project data
|
||||
|
||||
group=dev.inmo
|
||||
version=0.8.0
|
||||
version=0.8.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 -> {
|
||||
|
Loading…
Reference in New Issue
Block a user