QuizPoll
data class QuizPoll(val id: PollIdentifier, val question: String, val options: List<PollOption>, val votesCount: Int, val correctOptionId: Int? = null, val text: String? = null, val textSources: List<TextSource> = emptyList(), val isClosed: Boolean = false, val isAnonymous: Boolean = false, val scheduledCloseInfo: ScheduledCloseInfo? = null) : Poll, TextedInput
Constructors
Link copied to clipboard
constructor(id: PollIdentifier, question: String, options: List<PollOption>, votesCount: Int, correctOptionId: Int? = null, text: String? = null, textSources: List<TextSource> = emptyList(), isClosed: Boolean = false, isAnonymous: Boolean = false, scheduledCloseInfo: ScheduledCloseInfo? = null)
Functions
Link copied to clipboard
fun Poll.createRequest(chatId: ChatIdentifier, threadId: MessageThreadId? = chatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageId? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): SendPoll
Properties
Link copied to clipboard
Nullable due to documentation (https://core.telegram.org/bots/api#poll)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Full list of TextSources
Link copied to clipboard