This commit is contained in:
InsanusMokrassar committed 2021-06-30 08:55:38 +00:00
1 parent ef517ce617
commit 0d50787377
653 files changed
+36661 -4483

No files matched your search

@@ -28,47 +28,7 @@
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Functions">Functions</button></div>
<div class="tabs-section-body">
<h2 class="">Functions</h2>
<div class="table" data-togglable="Functions"><a data-name="-1287870702%2FFunctions%2F-1982836883" anchor-label="replyWithQuizPoll" id="-1287870702%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="reply-with-quiz-poll.html">replyWithQuizPoll</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1287870702%2FFunctions%2F-1982836883"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">inline suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="reply-with-quiz-poll.html">replyWithQuizPoll</a>(to: <a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a>, question: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, options: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>&gt;, correctOptionId: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>, isAnonymous: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = true, isClosed: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false, entities: <a href="../dev.inmo.tgbotapi.types.MessageEntity.textsources/index.html#-828955009%2FClasslikes%2F-1982836883">TextSourcesList</a>, closeInfo: <a href="../dev.inmo.tgbotapi.types.polls/-scheduled-close-info/index.html">ScheduledCloseInfo</a>? = null, disableNotification: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false, allowSendingWithoutReply: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>? = null, replyMarkup: <a href="../dev.inmo.tgbotapi.types.buttons/-keyboard-markup/index.html">KeyboardMarkup</a>? = null): <a href="../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.html">ContentMessage</a>&lt;<a href="../dev.inmo.tgbotapi.types.message.content/-poll-content/index.html">PollContent</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="symbol monospace">inline suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="reply-with-quiz-poll.html">replyWithQuizPoll</a>(to: <a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a>, isClosed: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false, quizPoll: <a href="../dev.inmo.tgbotapi.types.polls/-quiz-poll/index.html">QuizPoll</a>, question: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a> = quizPoll.question, options: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>&gt; = quizPoll.options.map { it.text }, correctOptionId: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a> = quizPoll.correctOptionId ?: error(&quot;Correct option ID must be provided by income QuizPoll or by developer&quot;), isAnonymous: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = quizPoll.isAnonymous, entities: <a href="../dev.inmo.tgbotapi.types.MessageEntity.textsources/index.html#-828955009%2FClasslikes%2F-1982836883">TextSourcesList</a>, closeInfo: <a href="../dev.inmo.tgbotapi.types.polls/-scheduled-close-info/index.html">ScheduledCloseInfo</a>? = null, disableNotification: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false, allowSendingWithoutReply: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>? = null, replyMarkup: <a href="../dev.inmo.tgbotapi.types.buttons/-keyboard-markup/index.html">KeyboardMarkup</a>? = null): <a href="../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.html">ContentMessage</a>&lt;<a href="../dev.inmo.tgbotapi.types.message.content/-poll-content/index.html">PollContent</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="symbol monospace">inline suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="reply-with-quiz-poll.html">replyWithQuizPoll</a>(to: <a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a>, question: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, options: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/koLine truncated
</div>
</div>
</div>
</div>
</div>
</div>
<a data-name="-1695477713%2FFunctions%2F-1982836883" anchor-label="replyWithRegularPoll" id="-1695477713%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="reply-with-regular-poll.html">replyWithRegularPoll</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1695477713%2FFunctions%2F-1982836883"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">inline suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="reply-with-regular-poll.html">replyWithRegularPoll</a>(to: <a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a>, question: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, options: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>&gt;, isAnonymous: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = true, isClosed: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false, allowMultipleAnswers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false, closeInfo: <a href="../dev.inmo.tgbotapi.types.polls/-scheduled-close-info/index.html">ScheduledCloseInfo</a>? = null, disableNotification: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false, allowSendingWithoutReply: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>? = null, replyMarkup: <a href="../dev.inmo.tgbotapi.types.buttons/-keyboard-markup/index.html">KeyboardMarkup</a>? = null): <a href="../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.html">ContentMessage</a>&lt;<a href="../dev.inmo.tgbotapi.types.message.content/-poll-content/index.html">PollContent</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="symbol monospace">inline suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="reply-with-regular-poll.html">replyWithRegularPoll</a>(to: <a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a>, poll: <a href="../dev.inmo.tgbotapi.types.polls/-regular-poll/index.html">RegularPoll</a>, isClosed: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false, question: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a> = poll.question, options: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>&gt; = poll.options.map { it.text }, isAnonymous: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = poll.isAnonymous, allowMultipleAnswers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = poll.allowMultipleAnswers, closeInfo: <a href="../dev.inmo.tgbotapi.types.polls/-scheduled-close-info/index.html">ScheduledCloseInfo</a>? = null, disableNotification: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false, allowSendingWithoutReply: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>? = null, replyMarkup: <a href="../dev.inmo.tgbotapi.types.buttons/-keyboard-markup/index.html">KeyboardMarkup</a>? = null): <a href="../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.html">ContentMessage</a>&lt;<a href="../dev.inmo.tgbotapi.types.message.content/-poll-content/index.html">PollContent</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<a data-name="-1152935000%2FFunctions%2F-1982836883" anchor-label="sendQuizPoll" id="-1152935000%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table" data-togglable="Functions"><a data-name="-1152935000%2FFunctions%2F-1982836883" anchor-label="sendQuizPoll" id="-1152935000%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="send-quiz-poll.html">sendQuizPoll</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1152935000%2FFunctions%2F-1982836883"></span>