mirror of
https://github.com/InsanusMokrassar/TelegramBotApiLibraries.git
synced 2024-12-22 16:47:16 +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
|
package dev.inmo.tgbotapi.libraries.resender
|
||||||
|
|
||||||
|
import dev.inmo.tgbotapi.types.FullChatIdentifierSerializer
|
||||||
import dev.inmo.tgbotapi.types.IdChatIdentifier
|
import dev.inmo.tgbotapi.types.IdChatIdentifier
|
||||||
import dev.inmo.tgbotapi.types.MessageId
|
import dev.inmo.tgbotapi.types.MessageId
|
||||||
import dev.inmo.tgbotapi.types.message.abstracts.Message
|
import dev.inmo.tgbotapi.types.message.abstracts.Message
|
||||||
@ -8,6 +9,7 @@ import kotlinx.serialization.Serializable
|
|||||||
|
|
||||||
@Serializable
|
@Serializable
|
||||||
data class MessageMetaInfo(
|
data class MessageMetaInfo(
|
||||||
|
@Serializable(FullChatIdentifierSerializer::class)
|
||||||
val chatId: IdChatIdentifier,
|
val chatId: IdChatIdentifier,
|
||||||
val messageId: MessageId,
|
val messageId: MessageId,
|
||||||
val group: String? = null
|
val group: String? = null
|
||||||
|
Loading…
Reference in New Issue
Block a user