diff --git a/resender/src/commonMain/kotlin/MessageMetaInfo.kt b/resender/src/commonMain/kotlin/MessageMetaInfo.kt index f844c63..fa2ba2b 100644 --- a/resender/src/commonMain/kotlin/MessageMetaInfo.kt +++ b/resender/src/commonMain/kotlin/MessageMetaInfo.kt @@ -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