libtd-ktx / kotlinx.telegram.extensions / MessageKtx / stopPoll
stopPoll
open suspend fun
Message
.stopPoll(chatId:
Long
, replyMarkup:
ReplyMarkup
?):
Unit
Suspend function, which stops a poll. A poll in a message can be stopped when the message has canBeEdited flag set.
Parameters
chatId
- Identifier of the chat to which the poll belongs.
replyMarkup
- The new message reply markup; for bots only.