1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-22 00:03:48 +00:00

change SendPoll to be serializable

This commit is contained in:
InsanusMokrassar 2019-04-16 19:40:41 +08:00
parent 6b045549f9
commit c450017764

View File

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