stopPoll

suspend fun TelegramBot.stopPoll(chatId: ChatIdentifier, messageId: MessageId, replyMarkup: InlineKeyboardMarkup? = null): Poll
suspend fun TelegramBot.stopPoll(chat: Chat, messageId: MessageId, replyMarkup: InlineKeyboardMarkup? = null): Poll
suspend fun TelegramBot.stopPoll(chatId: IdChatIdentifier, message: AccessibleMessage, replyMarkup: InlineKeyboardMarkup? = null): Poll
suspend fun TelegramBot.stopPoll(chat: Chat, message: AccessibleMessage, replyMarkup: InlineKeyboardMarkup? = null): Poll

Parameters

replyMarkup

Some InlineKeyboardMarkup. See dev.inmo.tgbotapi.extensions.utils.types.buttons.inlineKeyboard as a builder for that