mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-12-02 06:50:06 +00:00
35 lines
8.5 KiB
Markdown
35 lines
8.5 KiB
Markdown
|
//[docs](../../../index.md)/[dev.inmo.tgbotapi.requests.send.polls](../index.md)/[SendRegularPoll](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
# SendRegularPoll
|
||
|
[common] data class [SendRegularPoll](index.md)(**chatId**: [ChatIdentifier](../../dev.inmo.tgbotapi.types/-chat-identifier/index.md), **question**: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), **options**: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)>, **isAnonymous**: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html), **isClosed**: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html), **allowMultipleAnswers**: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html), **openPeriod**: [LongSeconds](../../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FLongSeconds%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)?, **closeDate**: [LongSeconds](../../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FLongSeconds%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)?, **disableNotification**: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html), **replyToMessageId**: [MessageIdentifier](../../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)?, **allowSendingWithoutReply**: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)?, **replyMarkup**: [KeyboardMarkup](../../dev.inmo.tgbotapi.types.buttons/-keyboard-markup/index.md)?) : [SendPoll](../-send-poll/index.md)
|
||
|
|
||
|
|
||
|
## Functions
|
||
|
|
||
|
| Name | Summary |
|
||
|
|---|---|
|
||
|
| <a name="dev.inmo.tgbotapi.requests.send.polls/SendPoll/method/#/PointingToDeclaration/"></a>[method](../-send-poll/method.md)| <a name="dev.inmo.tgbotapi.requests.send.polls/SendPoll/method/#/PointingToDeclaration/"></a>[common] <br>Content <br>open override fun [method](../-send-poll/method.md)(): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) <br><br><br>|
|
||
|
|
||
|
|
||
|
## Properties
|
||
|
|
||
|
| Name | Summary |
|
||
|
|---|---|
|
||
|
| <a name="dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll/allowMultipleAnswers/#/PointingToDeclaration/"></a>[allowMultipleAnswers](allow-multiple-answers.md)| <a name="dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll/allowMultipleAnswers/#/PointingToDeclaration/"></a> [common] val [allowMultipleAnswers](allow-multiple-answers.md): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false <br>|
|
||
|
| <a name="dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll/allowSendingWithoutReply/#/PointingToDeclaration/"></a>[allowSendingWithoutReply](allow-sending-without-reply.md)| <a name="dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll/allowSendingWithoutReply/#/PointingToDeclaration/"></a> [common] open override val [allowSendingWithoutReply](allow-sending-without-reply.md): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)? = null <br>|
|
||
|
| <a name="dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll/chatId/#/PointingToDeclaration/"></a>[chatId](chat-id.md)| <a name="dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll/chatId/#/PointingToDeclaration/"></a> [common] open override val [chatId](chat-id.md): [ChatIdentifier](../../dev.inmo.tgbotapi.types/-chat-identifier/index.md) <br>|
|
||
|
| <a name="dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll/closeInfo/#/PointingToDeclaration/"></a>[closeInfo](index.md#%5Bdev.inmo.tgbotapi.requests.send.polls%2FSendRegularPoll%2FcloseInfo%2F%23%2FPointingToDeclaration%2F%5D%2FProperties%2F625018081)| <a name="dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll/closeInfo/#/PointingToDeclaration/"></a> [common] open val [closeInfo](index.md#%5Bdev.inmo.tgbotapi.requests.send.polls%2FSendRegularPoll%2FcloseInfo%2F%23%2FPointingToDeclaration%2F%5D%2FProperties%2F625018081): [ScheduledCloseInfo](../../dev.inmo.tgbotapi.types.polls/-scheduled-close-info/index.md)? <br>|
|
||
|
| <a name="dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll/disableNotification/#/PointingToDeclaration/"></a>[disableNotification](disable-notification.md)| <a name="dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll/disableNotification/#/PointingToDeclaration/"></a> [common] open override val [disableNotification](disable-notification.md): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false <br>|
|
||
|
| <a name="dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll/isAnonymous/#/PointingToDeclaration/"></a>[isAnonymous](is-anonymous.md)| <a name="dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll/isAnonymous/#/PointingToDeclaration/"></a> [common] open override val [isAnonymous](is-anonymous.md): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = true <br>|
|
||
|
| <a name="dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll/isClosed/#/PointingToDeclaration/"></a>[isClosed](is-closed.md)| <a name="dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll/isClosed/#/PointingToDeclaration/"></a> [common] open override val [isClosed](is-closed.md): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false <br>|
|
||
|
| <a name="dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll/options/#/PointingToDeclaration/"></a>[options](options.md)| <a name="dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll/options/#/PointingToDeclaration/"></a> [common] open override val [options](options.md): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)> <br>|
|
||
|
| <a name="dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll/question/#/PointingToDeclaration/"></a>[question](question.md)| <a name="dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll/question/#/PointingToDeclaration/"></a> [common] open override val [question](question.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) <br>|
|
||
|
| <a name="dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll/replyMarkup/#/PointingToDeclaration/"></a>[replyMarkup](reply-markup.md)| <a name="dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll/replyMarkup/#/PointingToDeclaration/"></a> [common] open override val [replyMarkup](reply-markup.md): [KeyboardMarkup](../../dev.inmo.tgbotapi.types.buttons/-keyboard-markup/index.md)? = null <br>|
|
||
|
| <a name="dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll/replyToMessageId/#/PointingToDeclaration/"></a>[replyToMessageId](reply-to-message-id.md)| <a name="dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll/replyToMessageId/#/PointingToDeclaration/"></a> [common] open override val [replyToMessageId](reply-to-message-id.md): [MessageIdentifier](../../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)? = null <br>|
|
||
|
| <a name="dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll/requestSerializer/#/PointingToDeclaration/"></a>[requestSerializer](request-serializer.md)| <a name="dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll/requestSerializer/#/PointingToDeclaration/"></a> [common] open override val [requestSerializer](request-serializer.md): <*> <br>|
|
||
|
| <a name="dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll/resultDeserializer/#/PointingToDeclaration/"></a>[resultDeserializer](index.md#%5Bdev.inmo.tgbotapi.requests.send.polls%2FSendRegularPoll%2FresultDeserializer%2F%23%2FPointingToDeclaration%2F%5D%2FProperties%2F625018081)| <a name="dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll/resultDeserializer/#/PointingToDeclaration/"></a> [common] open override val [resultDeserializer](index.md#%5Bdev.inmo.tgbotapi.requests.send.polls%2FSendRegularPoll%2FresultDeserializer%2F%23%2FPointingToDeclaration%2F%5D%2FProperties%2F625018081): <[ContentMessage](../../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.md)<[PollContent](../../dev.inmo.tgbotapi.types.message.content/-poll-content/index.md)>> <br>|
|
||
|
| <a name="dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll/type/#/PointingToDeclaration/"></a>[type](type.md)| <a name="dev.inmo.tgbotapi.requests.send.polls/SendRegularPoll/type/#/PointingToDeclaration/"></a> [common] open override val [type](type.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) <br>|
|
||
|
|