Skip to content

stopPoll

Function · TDLib 1.8.67 · d1085f9c

Stops a poll

stopPoll(
  chat_id: int53,
  message_id: int53,
  reply_markup: ReplyMarkup
) → Ok

chat_id

int53

Identifier of the chat to which the poll belongs

message_id

int53

Identifier of the message containing the poll. Use messageProperties.can_be_edited to check whether the poll can be stopped

reply_markup

ReplyMarkup

The new message reply markup; pass null if none; for bots only