docs / com.github.insanusmokrassar.TelegramBotAPI.types.polls / UnknownPollType

UnknownPollType

(common) data class UnknownPollType : Poll (source)

Properties

(common)

id

val id: PollIdentifier
(common)

isAnonymous

val isAnonymous: Boolean
(common)

isClosed

val isClosed: Boolean
(common)

options

val options: List<PollOption>
(common)

question

val question: String
(common)

raw

val raw: JsonObject
(common)

scheduledCloseInfo

val scheduledCloseInfo: ScheduledCloseInfo?
(common)

votesCount

val votesCount: Int

Extension Functions

(common)

createRequest

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