SendRegularPoll

data class SendRegularPoll(    val chatId: ChatIdentifier,     val question: String,     val options: List<String>,     val isAnonymous: Boolean = true,     val isClosed: Boolean = false,     val allowMultipleAnswers: Boolean = false,     openPeriod: LongSeconds? = null,     closeDate: LongSeconds?,     val disableNotification: Boolean = false,     val protectContent: Boolean = false,     val replyToMessageId: MessageIdentifier? = null,     val allowSendingWithoutReply: Boolean? = null,     val replyMarkup: KeyboardMarkup? = null) : SendPoll

Constructors

Link copied to clipboard
fun SendRegularPoll(    chatId: ChatIdentifier,     question: String,     options: List<String>,     isAnonymous: Boolean = true,     isClosed: Boolean = false,     allowMultipleAnswers: Boolean = false,     openPeriod: LongSeconds? = null,     closeDate: LongSeconds?,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageIdentifier? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null)

Functions

Link copied to clipboard
open override fun method(): String

Properties

Link copied to clipboard
val allowMultipleAnswers: Boolean = false
Link copied to clipboard
open override val allowSendingWithoutReply: Boolean? = null
Link copied to clipboard
open override val chatId: ChatIdentifier
Link copied to clipboard
open val closeInfo: ScheduledCloseInfo?
Link copied to clipboard
open override val disableNotification: Boolean = false
Link copied to clipboard
open override val isAnonymous: Boolean = true
Link copied to clipboard
open override val isClosed: Boolean = false
Link copied to clipboard
open override val options: List<String>
Link copied to clipboard
open override val protectContent: Boolean = false
Link copied to clipboard
open override val question: String
Link copied to clipboard
open override val replyMarkup: KeyboardMarkup? = null
Link copied to clipboard
open override val replyToMessageId: MessageIdentifier? = null
Link copied to clipboard
open override val requestSerializer: SerializationStrategy<*>
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<ContentMessage<PollContent>>
Link copied to clipboard
open override val type: String