libtd-ktx / kotlinx.telegram.extensions / ChatKtx / stopPoll
stopPoll
open suspend fun Chat.stopPoll(messageId: 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
messageId - Identifier of the message containing the poll.
replyMarkup - The new message reply markup; for bots only.