mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-12-23 00:57:13 +00:00
StopPoll#replyMarkup
This commit is contained in:
parent
a5ca9c0ce7
commit
495a063f61
@ -24,6 +24,7 @@ some default library
|
||||
* Replace `WebhookPrivateKeyConfig`
|
||||
* Added `FlowsUpdatesFilter`
|
||||
* `UpdatesFilter` now have additional callback for polls
|
||||
* `StopPoll#replyMarkup` now is optional
|
||||
|
||||
## 0.13.0 Telegram Polls
|
||||
|
||||
|
@ -15,7 +15,7 @@ data class StopPoll(
|
||||
@SerialName(messageIdField)
|
||||
override val messageId: MessageIdentifier,
|
||||
@SerialName(replyMarkupField)
|
||||
override val replyMarkup: InlineKeyboardMarkup?
|
||||
override val replyMarkup: InlineKeyboardMarkup? = null
|
||||
) : MessageAction, SimpleRequest<Poll>, ReplyMarkup {
|
||||
override fun method(): String = "stopPoll"
|
||||
override fun resultSerializer(): KSerializer<Poll> = Poll.serializer()
|
||||
|
Loading…
Reference in New Issue
Block a user