stopPoll
Stop a poll.
PARAMETERS
The chat that includes the poll.
messageId: number
The idenfifier of the poll’s message.
SYNTAX
// Required parameters only.
await client.stopPoll(chatId, messageId);
// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.stopPoll(chatId, messageId, { replyMarkup });