mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-12-02 06:50:06 +00:00
8.5 KiB
8.5 KiB
//docs/dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll
SendRegularPoll
[common] data class SendRegularPoll(chatId: ChatIdentifier, question: String, options: List<String>, isAnonymous: Boolean, isClosed: Boolean, allowMultipleAnswers: Boolean, openPeriod: LongSeconds?, closeDate: LongSeconds?, disableNotification: Boolean, replyToMessageId: MessageIdentifier?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?) : SendPoll
Functions
Name | Summary |
---|---|
method | [common] Content open override fun method(): String |
Properties
Name | Summary |
---|---|
allowMultipleAnswers | [common] val allowMultipleAnswers: Boolean = false |
allowSendingWithoutReply | [common] open override val allowSendingWithoutReply: Boolean? = null |
chatId | [common] open override val chatId: ChatIdentifier |
closeInfo | [common] open val closeInfo: ScheduledCloseInfo? |
disableNotification | [common] open override val disableNotification: Boolean = false |
isAnonymous | [common] open override val isAnonymous: Boolean = true |
isClosed | [common] open override val isClosed: Boolean = false |
options | [common] open override val options: List<String> |
question | [common] open override val question: String |
replyMarkup | [common] open override val replyMarkup: KeyboardMarkup? = null |
replyToMessageId | [common] open override val replyToMessageId: MessageIdentifier? = null |
requestSerializer | [common] open override val requestSerializer: <*> |
resultDeserializer | [common] open override val resultDeserializer: <ContentMessage<PollContent>> |
type | [common] open override val type: String |