docs / com.github.insanusmokrassar.TelegramBotAPI.requests.send.polls

Package com.github.insanusmokrassar.TelegramBotAPI.requests.send.polls

Types

(common)

SendPoll

sealed class SendPoll : SendMessageRequest<ContentMessage<PollContent>>, ReplyingMarkupSendMessageRequest<ContentMessage<PollContent>>
(common)

SendQuizPoll

data class SendQuizPoll : SendPoll, CaptionedOutput, ExplainedOutput
(common)

SendRegularPoll

data class SendRegularPoll : SendPoll

Functions

(common)

createRequest

fun Poll.createRequest(chatId: ChatIdentifier, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): SendPoll
(common)

SendPoll

fun SendPoll(chatId: ChatIdentifier, question: String, options: List<String>, isAnonymous: Boolean = true, isClosed: Boolean = false, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): SendRegularPoll