1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-10-02 23:46:09 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.requests.send.polls/-send-quiz-poll.md

13 lines
3.2 KiB
Markdown
Raw Normal View History

//[docs](../../index.md)/[dev.inmo.tgbotapi.requests.send.polls](index.md)/[SendQuizPoll](-send-quiz-poll.md)
# SendQuizPoll
[common]
Content
fun [SendQuizPoll](-send-quiz-poll.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)>, correctOptionId: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), isAnonymous: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = true, isClosed: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false, explanation: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null, parseMode: [ParseMode](../dev.inmo.tgbotapi.types.ParseMode/-parse-mode/index.md)? = null, closeInfo: [ScheduledCloseInfo](../dev.inmo.tgbotapi.types.polls/-scheduled-close-info/index.md)? = null, disableNotification: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false, replyToMessageId: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)? = null, allowSendingWithoutReply: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)? = null, replyMarkup: [KeyboardMarkup](../dev.inmo.tgbotapi.types.buttons/-keyboard-markup/index.md)? = null): [SendQuizPoll](-send-quiz-poll/index.md)
fun [SendQuizPoll](-send-quiz-poll.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)>, correctOptionId: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), isAnonymous: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = true, isClosed: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false, entities: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[TextSource](../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md)>, closeInfo: [ScheduledCloseInfo](../dev.inmo.tgbotapi.types.polls/-scheduled-close-info/index.md)? = null, disableNotification: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false, replyToMessageId: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)? = null, allowSendingWithoutReply: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)? = null, replyMarkup: [KeyboardMarkup](../dev.inmo.tgbotapi.types.buttons/-keyboard-markup/index.md)? = null): [SendQuizPoll](-send-quiz-poll/index.md)