2023-12-31 10:16:26 +00:00
|
|
|
package dev.inmo.tgbotapi.types.chat
|
|
|
|
|
2024-01-04 05:38:30 +00:00
|
|
|
import dev.inmo.tgbotapi.abstracts.WithPreviewChat
|
|
|
|
import dev.inmo.tgbotapi.abstracts.WithPreviewChatAndMessageId
|
2023-12-31 10:16:26 +00:00
|
|
|
import dev.inmo.tgbotapi.types.*
|
|
|
|
import dev.inmo.tgbotapi.types.reactions.ReactionsCount
|
|
|
|
import kotlinx.serialization.SerialName
|
|
|
|
import kotlinx.serialization.Serializable
|
|
|
|
|
|
|
|
@Serializable
|
|
|
|
data class ChatMessageReactionsCountUpdated(
|
|
|
|
@SerialName(chatField)
|
2024-01-04 05:38:30 +00:00
|
|
|
override val chat: PreviewChat,
|
2023-12-31 10:16:26 +00:00
|
|
|
@SerialName(messageIdField)
|
2024-01-04 05:38:30 +00:00
|
|
|
override val messageId: MessageIdentifier,
|
2023-12-31 10:16:26 +00:00
|
|
|
@Serializable(TelegramDateSerializer::class)
|
|
|
|
@SerialName(dateField)
|
|
|
|
val date: TelegramDate,
|
|
|
|
@SerialName(reactionsField)
|
|
|
|
val reactions: List<ReactionsCount>
|
2024-01-04 05:38:30 +00:00
|
|
|
) : WithPreviewChatAndMessageId
|