MessageMetaInfo now serialize chatId as is instead of ChatId version

This commit is contained in:
InsanusMokrassar 2023-02-11 20:43:22 +06:00
parent ac89551ac4
commit a2dab361cf

View File

@ -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