1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-12-29 12:00:06 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.updateshandlers/index.html
2021-06-30 08:55:38 +00:00

183 lines
23 KiB
HTML

<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>dev.inmo.tgbotapi.updateshandlers</title>
<link href="../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../";</script><script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../styles/style.css" rel="Stylesheet"><link href="../../styles/logo-styles.css" rel="Stylesheet"><link href="../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../styles/main.css" rel="Stylesheet"><script type="text/javascript" src="../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../scripts/main.js" async="async"></script> </head>
<body>
<div id="container">
<div id="leftColumn"><a href="../../index.html">
<div id="logo"></div>
</a>
<div id="paneSearch"></div>
<div id="sideMenu"></div>
</div>
<div id="main">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.updateshandlers////PointingToDeclaration//-1982836883">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../../index.html">docs</a>/<a href="index.html">dev.inmo.tgbotapi.updateshandlers</a></div>
<div class="pull-right d-flex">
<div class="filter-section" id="filter-section"><button class="platform-tag platform-selector common-like" data-active="" data-filter=":docs:dokkaHtml/commonMain">common</button></div>
<div id="searchBar"></div>
</div>
</div>
<div class="cover ">
<h1 class="cover"><span>Package dev.</span><wbr></wbr><span>inmo.</span><wbr></wbr><span>tgbotapi.</span><wbr></wbr><span>updateshandlers</span></h1>
</div>
<div class="tabbedcontent">
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Types">Types</button><button class="section-tab" data-togglable="Functions">Functions</button></div>
<div class="tabs-section-body">
<h2 class="">Types</h2>
<div class="table" data-togglable="Types"><a data-name="7134473%2FClasslikes%2F-1982836883" anchor-label="DefaultFlowsUpdatesFilter" id="7134473%2FClasslikes%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="-default-flows-updates-filter/index.html">DefaultFlowsUpdatesFilter</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="7134473%2FClasslikes%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">class <a href="-default-flows-updates-filter/index.html">DefaultFlowsUpdatesFilter</a>(broadcastChannelsSize: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>, onBufferOverflow: <span data-unresolved-link="kotlinx.coroutines.channels/BufferOverflow///PointingToDeclaration/">BufferOverflow</span>) : <a href="-flows-updates-filter/index.html">FlowsUpdatesFilter</a><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="-557683554%2FClasslikes%2F-1982836883" anchor-label="FlowsUpdatesFilter" id="-557683554%2FClasslikes%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="-flows-updates-filter/index.html">FlowsUpdatesFilter</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-557683554%2FClasslikes%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">interface <a href="-flows-updates-filter/index.html">FlowsUpdatesFilter</a> : <a href="-updates-filter/index.html">UpdatesFilter</a><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="-2125548169%2FClasslikes%2F-1982836883" anchor-label="SimpleUpdatesFilter" id="-2125548169%2FClasslikes%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="-simple-updates-filter/index.html">SimpleUpdatesFilter</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2125548169%2FClasslikes%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">data class <a href="-simple-updates-filter/index.html">SimpleUpdatesFilter</a>(messageCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update/-message-update/index.html">MessageUpdate</a>&gt;?, messageMediaGroupCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update.MediaGroupUpdates/-message-media-group-update/index.html">MessageMediaGroupUpdate</a>&gt;?, editedMessageCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update/-edit-message-update/index.html">EditMessageUpdate</a>&gt;?, editedMessageMediaGroupCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update.MediaGroupUpdates/-edit-message-media-group-update/index.html">EditMessageMediaGroupUpdate</a>&gt;?, channelPostCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update/-channel-post-update/index.html">ChannelPostUpdate</a>&gt;?, channelPostMediaGroupCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update.MediaGroupUpdates/-channel-post-media-group-update/index.html">ChannelPostMediaGroupUpdate</a>&gt;?, editedChannelPostCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update/-edit-channel-post-update/index.html">EditChannelPostUpdate</a>&gt;?, editedChannelPostMediaGroupCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update.MediaGroupUpdates/-edit-channel-post-media-group-update/index.html">EditChannelPostMediaGroupUpdate</a>&gt;?, chosenInlineResultCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update/-chosen-inline-result-update/index.html">ChosenInlineResultUpdate</a>&gt;?, inlineQueryCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update/-inline-query-update/index.html">InlineQueryUpdate</a>&gt;?, callbackQueryCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update/-callback-query-update/index.html">CallbackQueryUpdate</a>&gt;?, shippingQueryCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update/-shipping-query-update/index.html">ShippingQueryUpdate</a>&gt;?, preCheckoutQueryCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update/-pre-checkout-query-update/index.html">PreCheckoutQueryUpdate</a>&gt;?, pollUpdateCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update/-poll-update/index.html">PollUpdate</a>&gt;?, pollAnswerUpdateCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update/-poll-answer-update/index.html">PollAnswerUpdate</a>&gt;?, unknownUpdateTypeCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update.abstracts/-unknown-update/index.html">UnknownUpdate</a>&gt;?) : <a href="-updates-filter/index.html">UpdatesFilter</a><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="-1676068861%2FClasslikes%2F-1982836883" anchor-label="UpdateReceiver" id="-1676068861%2FClasslikes%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="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1676068861%2FClasslikes%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">typealias <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="index.html#-1676068861%2FClasslikes%2F-1982836883">T</a>&gt; = suspend (<a href="index.html#-1676068861%2FClasslikes%2F-1982836883">T</a>) -&gt; <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><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="78796197%2FClasslikes%2F-1982836883" anchor-label="UpdatesFilter" id="78796197%2FClasslikes%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="-updates-filter/index.html">UpdatesFilter</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="78796197%2FClasslikes%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">interface <a href="-updates-filter/index.html">UpdatesFilter</a><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>
</div>
<h2 class="">Functions</h2>
<div class="table" data-togglable="Functions"><a data-name="653624965%2FFunctions%2F-1982836883" anchor-label="createSimpleUpdateFilter" id="653624965%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="create-simple-update-filter.html">createSimpleUpdateFilter</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="653624965%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">fun <a href="create-simple-update-filter.html">createSimpleUpdateFilter</a>(messageCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update/-message-update/index.html">MessageUpdate</a>&gt;? = null, mediaGroupCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update.MediaGroupUpdates/-media-group-update/index.html">MediaGroupUpdate</a>&gt;? = null, editedMessageCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update/-edit-message-update/index.html">EditMessageUpdate</a>&gt;? = null, channelPostCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update/-channel-post-update/index.html">ChannelPostUpdate</a>&gt;? = null, editedChannelPostCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update/-edit-channel-post-update/index.html">EditChannelPostUpdate</a>&gt;? = null, chosenInlineResultCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update/-chosen-inline-result-update/index.html">ChosenInlineResultUpdate</a>&gt;? = null, inlineQueryCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update/-inline-query-update/index.html">InlineQueryUpdate</a>&gt;? = null, callbackQueryCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update/-callback-query-update/index.html">CallbackQueryUpdate</a>&gt;? = null, shippingQueryCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update/-shipping-query-update/index.html">ShippingQueryUpdate</a>&gt;? = null, preCheckoutQueryCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update/-pre-checkout-query-update/index.html">PreCheckoutQueryUpdate</a>&gt;? = null, pollCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update/-poll-update/index.html">PollUpdate</a>&gt;? = null, pollAnswerCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update/-poll-answer-update/index.html">PollAnswerUpdate</a>&gt;? = null, unknownCallback: <a href="index.html#-1676068861%2FClasslikes%2F-1982836883">UpdateReceiver</a>&lt;<a href="../dev.inmo.tgbotapi.types.update.abstracts/-unknown-update/index.html">UnknownUpdate</a>&gt;? = null): <a href="-updates-filter/index.html">UpdatesFilter</a><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="1907431717%2FFunctions%2F-1982836883" anchor-label="FlowsUpdatesFilter" id="1907431717%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="-flows-updates-filter.html">FlowsUpdatesFilter</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1907431717%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">fun <a href="-flows-updates-filter.html">FlowsUpdatesFilter</a>(broadcastChannelsSize: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a> = 100): <a href="-default-flows-updates-filter/index.html">DefaultFlowsUpdatesFilter</a><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>
<a data-name="1907431717%2FFunctions%2F-1982836883" anchor-label="FlowsUpdatesFilter" id="1907431717%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a><div class="brief "><a data-name="1907431717%2FFunctions%2F-1982836883" anchor-label="FlowsUpdatesFilter" id="1907431717%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>Creates <a href="-default-flows-updates-filter/index.html">DefaultFlowsUpdatesFilter</a></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2021 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
</div>
</div>
</body>
</html>