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>
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>
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>
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>

Parameters