docs

# sendRegularPoll

suspend fun TelegramBot . sendRegularPoll ( chatId: ChatIdentifier , question: String , options: List < String >, isAnonymous: Boolean = true, isClosed: Boolean = false, allowMultipleAnswers: Boolean = false, closeInfo: ScheduledCloseInfo ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier ? = null, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < PollContent >
Content copied to clipboard
suspend fun TelegramBot . sendRegularPoll ( chatId: ChatIdentifier , poll: RegularPoll , isClosed: Boolean = false, question: String = poll.question, options: List < String > = poll.options.map { it.text }, isAnonymous: Boolean = poll.isAnonymous, allowMultipleAnswers: Boolean = poll.allowMultipleAnswers, closeInfo: ScheduledCloseInfo ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier ? = null, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < PollContent >
Content copied to clipboard
suspend fun TelegramBot . sendRegularPoll ( chat: Chat , question: String , options: List < String >, isAnonymous: Boolean = true, isClosed: Boolean = false, allowMultipleAnswers: Boolean = false, closeInfo: ScheduledCloseInfo ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier ? = null, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < PollContent >
Content copied to clipboard
suspend fun TelegramBot . sendRegularPoll ( chat: Chat , poll: RegularPoll , isClosed: Boolean = false, question: String = poll.question, options: List < String > = poll.options.map { it.text }, isAnonymous: Boolean = poll.isAnonymous, allowMultipleAnswers: Boolean = poll.allowMultipleAnswers, closeInfo: ScheduledCloseInfo ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier ? = null, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < PollContent >
Content copied to clipboard

## Parameters

replyMarkup

Some of KeyboardMarkup. See dev.inmo.tgbotapi.extensions.utils.types.buttons.replyKeyboard or dev.inmo.tgbotapi.extensions.utils.types.buttons.inlineKeyboard as a builders for that param