From c4500177644f37f7e5d24c6b81d7b580cb8ef5f4 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Tue, 16 Apr 2019 19:40:41 +0800 Subject: [PATCH] change SendPoll to be serializable --- .../insanusmokrassar/TelegramBotAPI/requests/send/SendPoll.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/kotlin/com/github/insanusmokrassar/TelegramBotAPI/requests/send/SendPoll.kt b/src/main/kotlin/com/github/insanusmokrassar/TelegramBotAPI/requests/send/SendPoll.kt index ee244f2788..8a9eee0b57 100644 --- a/src/main/kotlin/com/github/insanusmokrassar/TelegramBotAPI/requests/send/SendPoll.kt +++ b/src/main/kotlin/com/github/insanusmokrassar/TelegramBotAPI/requests/send/SendPoll.kt @@ -7,7 +7,9 @@ import com.github.insanusmokrassar.TelegramBotAPI.types.buttons.KeyboardMarkup import com.github.insanusmokrassar.TelegramBotAPI.types.message.RawMessage import kotlinx.serialization.KSerializer import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable +@Serializable data class SendPoll( @SerialName(chatIdField) override val chatId: ChatIdentifier,