mirror of
https://github.com/InsanusMokrassar/TelegramBotApiLibraries.git
synced 2024-11-17 05:43:51 +00:00
MessageMetaInfo now serialize chatId as is instead of ChatId version
This commit is contained in:
parent
ac89551ac4
commit
a2dab361cf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user