stopPoll method
Use this method to stop a poll which was sent by the bot.
On success, the stopped Poll
is returned.
Implementation
Future<Poll> stopPoll(
ChatID chatId,
int messageId, {
ReplyMarkup? replyMarkup,
}) {
return _client.apiCall(_token, 'stopPoll', {
'chat_id': chatId,
'message_id': messageId,
'reply_markup': replyMarkup,
});
}