sealed class Poll
(source)
(common)
id |
abstract val id: PollIdentifier |
(common)
isAnonymous |
abstract val isAnonymous: Boolean |
(common)
isClosed |
abstract val isClosed: Boolean |
(common)
options |
abstract val options: List<PollOption> |
(common)
question |
abstract val question: String |
(common)
scheduledCloseInfo |
abstract val scheduledCloseInfo: ScheduledCloseInfo? |
(common)
votesCount |
abstract val votesCount: Int |
(common)
createRequest |
fun Poll.createRequest(chatId: ChatIdentifier, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): SendPoll |
(common)
MultipleAnswersPoll |
sealed class MultipleAnswersPoll : Poll |
(common)
QuizPoll |
data class QuizPoll : Poll, CaptionedInput, ExplainedInput |
(common)
UnknownPollType |
data class UnknownPollType : Poll |