SendRegularPoll

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

Functions

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

Properties

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