1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-12-24 01:27:13 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.extensions.utils.updates/index.html
2023-03-01 09:41:27 +00:00

559 lines
88 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>dev.inmo.tgbotapi.extensions.utils.updates</title>
<link href="../../images/logo-icon.svg" rel="icon" type="image/svg">
<script>var pathToRoot = "../../";</script>
<script>const storage = localStorage.getItem("dokka-dark-mode")
if (storage == null) {
const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
if (osDarkSchemePreferred === true) {
document.getElementsByTagName("html")[0].classList.add("theme-dark")
}
} else {
const savedDarkMode = JSON.parse(storage)
if(savedDarkMode === true) {
document.getElementsByTagName("html")[0].classList.add("theme-dark")
}
}
</script>
<script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async="async"></script>
<link href="../../styles/style.css" rel="Stylesheet">
<link href="../../styles/jetbrains-mono.css" rel="Stylesheet">
<link href="../../styles/main.css" rel="Stylesheet">
<link href="../../styles/prism.css" rel="Stylesheet">
<link href="../../styles/logo-styles.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" defer="defer"></script>
<script type="text/javascript" src="../../scripts/prism.js" async="async"></script>
<script type="text/javascript" src="../../scripts/symbol-parameters-wrapper_deferred.js" defer="defer"></script>
</head>
<body>
<div class="navigation-wrapper" id="navigation-wrapper">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<div class="library-name">
<a href="../../index.html">
<span>docs</span>
</a>
</div>
<div>
6.0.2 </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>
<button id="theme-toggle-button"><span id="theme-toggle"></span></button>
<div id="searchBar"></div>
</div>
</div>
<div id="container">
<div id="leftColumn">
<div id="sideMenu"></div>
</div>
<div id="main">
<div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.utils.updates////PointingToDeclaration//-1982836883">
<div class="breadcrumbs"><a href="../../index.html">docs</a><span class="delimiter">/</span><span class="current">dev.inmo.tgbotapi.extensions.utils.updates</span></div>
<div class="cover ">
<h1 class="cover"><span><span>Package-level</span></span> <span><span>declarations</span></span></h1>
</div>
<div class="tabbedcontent">
<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="2144972581%2FFunctions%2F-1982836883" anchor-label="asCommonMessagesFlow" id="2144972581%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">
<div><a href="as-common-messages-flow.html"><span>as</span><wbr></wbr><span>Common</span><wbr></wbr><span>Messages</span><wbr></wbr><span><span>Flow</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="2144972581%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="as-common-messages-flow.html">T</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.types.update.abstracts/-base-sent-message-update/index.html">BaseSentMessageUpdate</a><span class="token operator">&gt; </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="as-common-messages-flow.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="as-common-messages-flow.html"><span class="token function">asCommonMessagesFlow</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token operator">*</span><span class="token operator">&gt;</span><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Will map incoming <a href="../dev.inmo.tgbotapi.types.update.abstracts/-base-sent-message-update/index.html">BaseSentMessageUpdate</a>s to <a href="../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a> from <span data-unresolved-link="dev.inmo.tgbotapi.types.update.abstracts/BaseSentMessageUpdate/data/#/PointingToDeclaration/">BaseSentMessageUpdate.data</span></p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1333220811%2FFunctions%2F-1982836883" anchor-label="asContentMessagesFlow" id="-1333220811%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">
<div><a href="as-content-messages-flow.html"><span>as</span><wbr></wbr><span>Content</span><wbr></wbr><span>Messages</span><wbr></wbr><span><span>Flow</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1333220811%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="as-content-messages-flow.html">T</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.types.update.abstracts/-base-sent-message-update/index.html">BaseSentMessageUpdate</a><span class="token operator">&gt; </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="as-content-messages-flow.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="as-content-messages-flow.html"><span class="token function">asContentMessagesFlow</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.html">ContentMessage</a><span class="token operator">&lt;</span><span class="token operator">*</span><span class="token operator">&gt;</span><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Will map incoming <a href="../dev.inmo.tgbotapi.types.update.abstracts/-base-sent-message-update/index.html">BaseSentMessageUpdate</a>s to <a href="../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.html">ContentMessage</a> from <span data-unresolved-link="dev.inmo.tgbotapi.types.update.abstracts/BaseSentMessageUpdate/data/#/PointingToDeclaration/">BaseSentMessageUpdate.data</span></p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="651206867%2FFunctions%2F-1982836883" anchor-label="asDataCallbackQueryFlow" id="651206867%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">
<div><a href="as-data-callback-query-flow.html"><span>as</span><wbr></wbr><span>Data</span><wbr></wbr><span>Callback</span><wbr></wbr><span>Query</span><wbr></wbr><span><span>Flow</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="651206867%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.update/-callback-query-update/index.html">CallbackQueryUpdate</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="as-data-callback-query-flow.html"><span class="token function">asDataCallbackQueryFlow</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.queries.callback/-data-callback-query/index.html">DataCallbackQuery</a><span class="token operator">&gt;</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="374487072%2FFunctions%2F-1982836883" anchor-label="asGameShortNameCallbackQueryFlow" id="374487072%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">
<div><a href="as-game-short-name-callback-query-flow.html"><span>as</span><wbr></wbr><span>Game</span><wbr></wbr><span>Short</span><wbr></wbr><span>Name</span><wbr></wbr><span>Callback</span><wbr></wbr><span>Query</span><wbr></wbr><span><span>Flow</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="374487072%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.update/-callback-query-update/index.html">CallbackQueryUpdate</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="as-game-short-name-callback-query-flow.html"><span class="token function">asGameShortNameCallbackQueryFlow</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.queries.callback/-game-short-name-callback-query/index.html">GameShortNameCallbackQuery</a><span class="token operator">&gt;</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1398612885%2FFunctions%2F-1982836883" anchor-label="asUnknownCallbackQueryFlow" id="1398612885%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">
<div><a href="as-unknown-callback-query-flow.html"><span>as</span><wbr></wbr><span>Unknown</span><wbr></wbr><span>Callback</span><wbr></wbr><span>Query</span><wbr></wbr><span><span>Flow</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1398612885%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.update/-callback-query-update/index.html">CallbackQueryUpdate</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="as-unknown-callback-query-flow.html"><span class="token function">asUnknownCallbackQueryFlow</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.queries.callback/-unknown-callback-query-type/index.html">UnknownCallbackQueryType</a><span class="token operator">&gt;</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-2096365820%2FFunctions%2F-1982836883" anchor-label="asUnknownMessagesFlow" id="-2096365820%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">
<div><a href="as-unknown-messages-flow.html"><span>as</span><wbr></wbr><span>Unknown</span><wbr></wbr><span>Messages</span><wbr></wbr><span><span>Flow</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2096365820%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="as-unknown-messages-flow.html">T</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.types.update.abstracts/-base-sent-message-update/index.html">BaseSentMessageUpdate</a><span class="token operator">&gt; </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="as-unknown-messages-flow.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="as-unknown-messages-flow.html"><span class="token function">asUnknownMessagesFlow</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.message.abstracts/-unknown-message-type/index.html">UnknownMessageType</a><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Will map incoming <a href="../dev.inmo.tgbotapi.types.update.abstracts/-base-sent-message-update/index.html">BaseSentMessageUpdate</a>s to <a href="../dev.inmo.tgbotapi.types.message.abstracts/-unknown-message-type/index.html">UnknownMessageType</a> from <span data-unresolved-link="dev.inmo.tgbotapi.types.update.abstracts/BaseSentMessageUpdate/data/#/PointingToDeclaration/">BaseSentMessageUpdate.data</span></p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="451409803%2FFunctions%2F-1982836883" anchor-label="chatEvents" id="451409803%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">
<div><a href="chat-events.html"><span>chat</span><wbr></wbr><span><span>Events</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="451409803%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="chat-events.html">T</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.types.update.abstracts/-base-sent-message-update/index.html">BaseSentMessageUpdate</a><span class="token operator">&gt; </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="chat-events.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="chat-events.html"><span class="token function">chatEvents</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token operator">*</span><span class="token operator">&gt;</span><span class="token operator">&gt;</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1931900754%2FFunctions%2F-1982836883" anchor-label="convertWithMediaGroupUpdates" id="1931900754%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">
<div><a href="convert-with-media-group-updates.html"><span>convert</span><wbr></wbr><span>With</span><wbr></wbr><span>Media</span><wbr></wbr><span>Group</span><wbr></wbr><span><span>Updates</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1931900754%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="convert-with-media-group-updates.html"><span class="token function">convertWithMediaGroupUpdates</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Will convert incoming list of <a href="../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>s to list with <a href="../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>s, which include <a href="../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.html">dev.inmo.tgbotapi.types.message.abstracts.ContentMessage</a>s with <a href="../dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">dev.inmo.tgbotapi.types.message.content.MediaGroupContent</a></p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1360557734%2FFunctions%2F-1982836883" anchor-label="filterBaseMessageUpdatesByChat" id="-1360557734%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">
<div><a href="filter-base-message-updates-by-chat.html"><span>filter</span><wbr></wbr><span>Base</span><wbr></wbr><span>Message</span><wbr></wbr><span>Updates</span><wbr></wbr><span>By</span><wbr></wbr><span><span>Chat</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1360557734%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="filter-base-message-updates-by-chat.html">T</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.types.update.abstracts/-base-message-update/index.html">BaseMessageUpdate</a><span class="token operator">&gt; </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="filter-base-message-updates-by-chat.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="filter-base-message-updates-by-chat.html"><span class="token function">filterBaseMessageUpdatesByChat</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">chat<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.chat/-chat/index.html">Chat</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="filter-base-message-updates-by-chat.html">T</a><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph"><span data-unresolved-link="kotlinx.coroutines.flow//filter/kotlinx.coroutines.flow.Flow[TypeParam(bounds=[kotlin.Any?])]#kotlin.coroutines.SuspendFunction1[TypeParam(bounds=[kotlin.Any?]),kotlin.Boolean]/PointingToDeclaration/">Flow.filter</span> incoming <a href="../dev.inmo.tgbotapi.types.update.abstracts/-base-message-update/index.html">BaseMessageUpdate</a>s by their <a href="../dev.inmo.tgbotapi.types/-id-chat-identifier/index.html">IdChatIdentifier</a> using <a href="../dev.inmo.tgbotapi.types.chat/-chat/id.html">Chat.id</a> of <a href="filter-base-message-updates-by-chat.html">chat</a></p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1484110787%2FFunctions%2F-1982836883" anchor-label="filterBaseMessageUpdatesByChatId" id="1484110787%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">
<div><a href="filter-base-message-updates-by-chat-id.html"><span>filter</span><wbr></wbr><span>Base</span><wbr></wbr><span>Message</span><wbr></wbr><span>Updates</span><wbr></wbr><span>By</span><wbr></wbr><span>Chat</span><wbr></wbr><span><span>Id</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1484110787%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="filter-base-message-updates-by-chat-id.html">T</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.types.update.abstracts/-base-message-update/index.html">BaseMessageUpdate</a><span class="token operator">&gt; </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="filter-base-message-updates-by-chat-id.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="filter-base-message-updates-by-chat-id.html"><span class="token function">filterBaseMessageUpdatesByChatId</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">chatId<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/-id-chat-identifier/index.html">IdChatIdentifier</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="filter-base-message-updates-by-chat-id.html">T</a><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph"><span data-unresolved-link="kotlinx.coroutines.flow//filter/kotlinx.coroutines.flow.Flow[TypeParam(bounds=[kotlin.Any?])]#kotlin.coroutines.SuspendFunction1[TypeParam(bounds=[kotlin.Any?]),kotlin.Boolean]/PointingToDeclaration/">Flow.filter</span> incoming <a href="../dev.inmo.tgbotapi.types.update.abstracts/-base-message-update/index.html">BaseMessageUpdate</a>s by their <a href="../dev.inmo.tgbotapi.types/-id-chat-identifier/index.html">IdChatIdentifier</a></p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="714032616%2FFunctions%2F-1982836883" anchor-label="filterCommandsInsideTextMessages" id="714032616%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">
<div><a href="filter-commands-inside-text-messages.html"><span>filter</span><wbr></wbr><span>Commands</span><wbr></wbr><span>Inside</span><wbr></wbr><span>Text</span><wbr></wbr><span><span>Messages</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="714032616%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="filter-commands-inside-text-messages.html">T</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.types.update.abstracts/-base-sent-message-update/index.html">BaseSentMessageUpdate</a><span class="token operator">&gt; </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="filter-commands-inside-text-messages.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="filter-commands-inside-text-messages.html"><span class="token function">filterCommandsInsideTextMessages</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">commandRegex<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-regex/index.html">Regex</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.html">ContentMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Convert incoming <a href="../dev.inmo.tgbotapi.types.message.abstracts/-content-message/content.html">dev.inmo.tgbotapi.types.message.abstracts.ContentMessage.content</a> of messages with fullEntitiesList and check that incoming message contains <a href="../dev.inmo.tgbotapi.types.message.textsources/-bot-command-text-source/index.html">BotCommandTextSource</a>. Besides, it is checking that <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-regex/matches.html">BotCommandTextSource.command</a> with incoming <a href="filter-commands-inside-text-messages.html">commandRegex</a></p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-331182154%2FFunctions%2F-1982836883" anchor-label="filterCommandsWithArgs" id="-331182154%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">
<div><a href="filter-commands-with-args.html"><span>filter</span><wbr></wbr><span>Commands</span><wbr></wbr><span>With</span><wbr></wbr><span><span>Args</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-331182154%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="filter-commands-with-args.html">T</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.types.update.abstracts/-base-sent-message-update/index.html">BaseSentMessageUpdate</a><span class="token operator">&gt; </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="filter-commands-with-args.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="filter-commands-with-args.html"><span class="token function">filterCommandsWithArgs</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">commandRegex<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-regex/index.html">Regex</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html">Pair</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.html">ContentMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.message.textsources/index.html#-1531751294%2FClasslikes%2F-1982836883">TextSourcesList</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Convert incoming <a href="../dev.inmo.tgbotapi.types.message.abstracts/-content-message/content.html">dev.inmo.tgbotapi.types.message.abstracts.ContentMessage.content</a> of messages with fullEntitiesList and check that incoming message contains first <a href="../dev.inmo.tgbotapi.types.message.textsources/-text-source/index.html">TextSource</a> as <a href="../dev.inmo.tgbotapi.types.message.textsources/-bot-command-text-source/index.html">BotCommandTextSource</a>. Besides, it is checking that <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-regex/matches.html">BotCommandTextSource.command</a> with incoming <a href="filter-commands-with-args.html">commandRegex</a> and for other <a href="../dev.inmo.tgbotapi.types.message.textsources/-text-source/index.html">TextSource</a> objects used next rules: all incoming text sources will be passed as is, <a href="../dev.inmo.tgbotapi.types.message.textsources/-regular-text-source/index.html">RegularTextSource</a> will be split by &quot; &quot; for several <a href="../dev.inmo.tgbotapi.types.message.textsources/-regular-text-source/index.html">RegularTextSource</a> which will contains not empty args without spaces.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="511467784%2FFunctions%2F-1982836883" anchor-label="filterExactCommands" id="511467784%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">
<div><a href="filter-exact-commands.html"><span>filter</span><wbr></wbr><span>Exact</span><wbr></wbr><span><span>Commands</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="511467784%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="filter-exact-commands.html">T</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.types.update.abstracts/-base-sent-message-update/index.html">BaseSentMessageUpdate</a><span class="token operator">&gt; </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="filter-exact-commands.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="filter-exact-commands.html"><span class="token function">filterExactCommands</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">commandRegex<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-regex/index.html">Regex</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.html">ContentMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Convert incoming <a href="../dev.inmo.tgbotapi.types.message.abstracts/-content-message/content.html">dev.inmo.tgbotapi.types.message.abstracts.ContentMessage.content</a> of messages with fullEntitiesList and check that incoming message contains ONLY ONE <a href="../dev.inmo.tgbotapi.types.message.textsources/-text-source/index.html">TextSource</a> and that is <a href="../dev.inmo.tgbotapi.types.message.textsources/-bot-command-text-source/index.html">BotCommandTextSource</a>. Besides, it is checking that <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-regex/matches.html">BotCommandTextSource.command</a> with incoming <a href="filter-exact-commands.html">commandRegex</a></p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-657685929%2FFunctions%2F-1982836883" anchor-label="flowsUpdatesFilter" id="-657685929%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">
<div><a href="flows-updates-filter.html"><span>flows</span><wbr></wbr><span>Updates</span><wbr></wbr><span><span>Filter</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-657685929%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><a href="flows-updates-filter.html"><span class="token function">flowsUpdatesFilter</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">internalChannelsSizes<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="token operator"> = </span><span class="token constant">100</span><span class="token punctuation">, </span></span><span class="parameter ">block<span class="token operator">: </span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a><span class="token punctuation">.</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator"> -&gt; </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a></div><div class="brief "><p class="paragraph">Non-suspendable function for easy-to-use creating of <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a> and applying the block to it</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1108986726%2FFunctions%2F-1982836883" anchor-label="forumMessage" id="1108986726%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">
<div><a href="forum-message.html"><span>forum</span><wbr></wbr><span><span>Message</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1108986726%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a><span class="token punctuation">.</span><a href="forum-message.html"><span class="token function">forumMessage</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></div><div class="brief "><p class="paragraph">A predicate to test that message has been sent in the forum. Use it as the <code class="lang-kotlin">initialFilter</code> parameter in behaviour builder triggers. E.g.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1663551341%2FFunctions%2F-1982836883" anchor-label="hasCommands" id="1663551341%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">
<div><a href="has-commands.html"><span>has</span><wbr></wbr><span><span>Commands</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1663551341%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token operator">*</span><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="has-commands.html"><span class="token function">hasCommands</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></div><div class="brief "><p class="paragraph">A predicate to test whether a message contains any commands in its body. Use it as the <code class="lang-kotlin">initialFilter</code> parameter in behaviour builder triggers. E.g.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1739577388%2FFunctions%2F-1982836883" anchor-label="hasNoCommands" id="1739577388%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">
<div><a href="has-no-commands.html"><span>has</span><wbr></wbr><span>No</span><wbr></wbr><span><span>Commands</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1739577388%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token operator">*</span><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="has-no-commands.html"><span class="token function">hasNoCommands</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></div><div class="brief "><p class="paragraph">A predicate to test whether a message contains any commands in its body. Use it as the <code class="lang-kotlin">initialFilter</code> parameter in behaviour builder triggers. E.g.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1476771520%2FFunctions%2F-1982836883" anchor-label="lastUpdateIdentifier" id="1476771520%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">
<div><a href="last-update-identifier.html"><span>last</span><wbr></wbr><span>Update</span><wbr></wbr><span><span>Identifier</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1476771520%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="last-update-identifier.html"><span class="token function">lastUpdateIdentifier</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/index.html#-1668278897%2FClasslikes%2F-1982836883">UpdateIdentifier</a><span class="token operator">?</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1028616863%2FFunctions%2F-1982836883" anchor-label="notForumMessage" id="1028616863%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">
<div><a href="not-forum-message.html"><span>not</span><wbr></wbr><span>Forum</span><wbr></wbr><span><span>Message</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1028616863%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a><span class="token punctuation">.</span><a href="not-forum-message.html"><span class="token function">notForumMessage</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></div><div class="brief "><p class="paragraph">A predicate to test that message has not been sent in the forum. Use it as the <code class="lang-kotlin">initialFilter</code> parameter in behaviour builder triggers. E.g.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="190509151%2FFunctions%2F-1982836883" anchor-label="onlyBaseChosenInlineResults" id="190509151%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">
<div><a href="only-base-chosen-inline-results.html"><span>only</span><wbr></wbr><span>Base</span><wbr></wbr><span>Chosen</span><wbr></wbr><span>Inline</span><wbr></wbr><span><span>Results</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="190509151%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.update/-chosen-inline-result-update/index.html">ChosenInlineResultUpdate</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="only-base-chosen-inline-results.html"><span class="token function">onlyBaseChosenInlineResults</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-base-chosen-inline-result/index.html">BaseChosenInlineResult</a><span class="token operator">&gt;</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1690807681%2FFunctions%2F-1982836883" anchor-label="onlyBaseChosenInlineResultsWithUpdates" id="1690807681%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">
<div><a href="only-base-chosen-inline-results-with-updates.html"><span>only</span><wbr></wbr><span>Base</span><wbr></wbr><span>Chosen</span><wbr></wbr><span>Inline</span><wbr></wbr><span>Results</span><wbr></wbr><span>With</span><wbr></wbr><span><span>Updates</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1690807681%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.update/-chosen-inline-result-update/index.html">ChosenInlineResultUpdate</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="only-base-chosen-inline-results-with-updates.html"><span class="token function">onlyBaseChosenInlineResultsWithUpdates</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html">Pair</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types/index.html#-1668278897%2FClasslikes%2F-1982836883">UpdateIdentifier</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-base-chosen-inline-result/index.html">BaseChosenInlineResult</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="2110105548%2FFunctions%2F-1982836883" anchor-label="onlyBaseInlineQueries" id="2110105548%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">
<div><a href="only-base-inline-queries.html"><span>only</span><wbr></wbr><span>Base</span><wbr></wbr><span>Inline</span><wbr></wbr><span><span>Queries</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="2110105548%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.update/-inline-query-update/index.html">InlineQueryUpdate</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="only-base-inline-queries.html"><span class="token function">onlyBaseInlineQueries</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.InlineQueries.query/-base-inline-query/index.html">BaseInlineQuery</a><span class="token operator">&gt;</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1872209106%2FFunctions%2F-1982836883" anchor-label="onlyBaseInlineQueriesWithUpdates" id="-1872209106%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">
<div><a href="only-base-inline-queries-with-updates.html"><span>only</span><wbr></wbr><span>Base</span><wbr></wbr><span>Inline</span><wbr></wbr><span>Queries</span><wbr></wbr><span>With</span><wbr></wbr><span><span>Updates</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1872209106%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.update/-inline-query-update/index.html">InlineQueryUpdate</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="only-base-inline-queries-with-updates.html"><span class="token function">onlyBaseInlineQueriesWithUpdates</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html">Pair</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types/index.html#-1668278897%2FClasslikes%2F-1982836883">UpdateIdentifier</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.InlineQueries.query/-base-inline-query/index.html">BaseInlineQuery</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-582940458%2FFunctions%2F-1982836883" anchor-label="onlyBaseMessageUpdates" id="-582940458%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">
<div><a href="only-base-message-updates.html"><span>only</span><wbr></wbr><span>Base</span><wbr></wbr><span>Message</span><wbr></wbr><span><span>Updates</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-582940458%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="only-base-message-updates.html"><span class="token function">onlyBaseMessageUpdates</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.update.abstracts/-base-message-update/index.html">BaseMessageUpdate</a><span class="token operator">&gt;</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="354689023%2FFunctions%2F-1982836883" anchor-label="onlyEditMessageUpdates" id="354689023%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">
<div><a href="only-edit-message-updates.html"><span>only</span><wbr></wbr><span>Edit</span><wbr></wbr><span>Message</span><wbr></wbr><span><span>Updates</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="354689023%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.update.abstracts/-base-message-update/index.html">BaseMessageUpdate</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="only-edit-message-updates.html"><span class="token function">onlyEditMessageUpdates</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.update.abstracts/-base-edit-message-update/index.html">BaseEditMessageUpdate</a><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Converts flow to <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span> of <a href="../dev.inmo.tgbotapi.types.update.abstracts/-base-sent-message-update/index.html">BaseSentMessageUpdate</a></p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="965355643%2FFunctions%2F-1982836883" anchor-label="onlyLocationChosenInlineResults" id="965355643%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">
<div><a href="only-location-chosen-inline-results.html"><span>only</span><wbr></wbr><span>Location</span><wbr></wbr><span>Chosen</span><wbr></wbr><span>Inline</span><wbr></wbr><span><span>Results</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="965355643%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.update/-chosen-inline-result-update/index.html">ChosenInlineResultUpdate</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="only-location-chosen-inline-results.html"><span class="token function">onlyLocationChosenInlineResults</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-location-chosen-inline-result/index.html">LocationChosenInlineResult</a><span class="token operator">&gt;</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-2032956443%2FFunctions%2F-1982836883" anchor-label="onlyLocationChosenInlineResultsWithUpdates" id="-2032956443%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">
<div><a href="only-location-chosen-inline-results-with-updates.html"><span>only</span><wbr></wbr><span>Location</span><wbr></wbr><span>Chosen</span><wbr></wbr><span>Inline</span><wbr></wbr><span>Results</span><wbr></wbr><span>With</span><wbr></wbr><span><span>Updates</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2032956443%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.update/-chosen-inline-result-update/index.html">ChosenInlineResultUpdate</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="only-location-chosen-inline-results-with-updates.html"><span class="token function">onlyLocationChosenInlineResultsWithUpdates</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html">Pair</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types/index.html#-1668278897%2FClasslikes%2F-1982836883">UpdateIdentifier</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-location-chosen-inline-result/index.html">LocationChosenInlineResult</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1322159568%2FFunctions%2F-1982836883" anchor-label="onlyLocationInlineQueries" id="-1322159568%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">
<div><a href="only-location-inline-queries.html"><span>only</span><wbr></wbr><span>Location</span><wbr></wbr><span>Inline</span><wbr></wbr><span><span>Queries</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1322159568%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.update/-inline-query-update/index.html">InlineQueryUpdate</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="only-location-inline-queries.html"><span class="token function">onlyLocationInlineQueries</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.InlineQueries.query/-location-inline-query/index.html">LocationInlineQuery</a><span class="token operator">&gt;</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-906040758%2FFunctions%2F-1982836883" anchor-label="onlyLocationInlineQueriesWithUpdates" id="-906040758%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">
<div><a href="only-location-inline-queries-with-updates.html"><span>only</span><wbr></wbr><span>Location</span><wbr></wbr><span>Inline</span><wbr></wbr><span>Queries</span><wbr></wbr><span>With</span><wbr></wbr><span><span>Updates</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-906040758%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.update/-inline-query-update/index.html">InlineQueryUpdate</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="only-location-inline-queries-with-updates.html"><span class="token function">onlyLocationInlineQueriesWithUpdates</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html">Pair</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types/index.html#-1668278897%2FClasslikes%2F-1982836883">UpdateIdentifier</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.InlineQueries.query/-location-inline-query/index.html">LocationInlineQuery</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="950482097%2FFunctions%2F-1982836883" anchor-label="onlySentMessageUpdates" id="950482097%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">
<div><a href="only-sent-message-updates.html"><span>only</span><wbr></wbr><span>Sent</span><wbr></wbr><span>Message</span><wbr></wbr><span><span>Updates</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="950482097%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.update.abstracts/-base-message-update/index.html">BaseMessageUpdate</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="only-sent-message-updates.html"><span class="token function">onlySentMessageUpdates</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.update.abstracts/-base-sent-message-update/index.html">BaseSentMessageUpdate</a><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Converts flow to <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span> of <a href="../dev.inmo.tgbotapi.types.update.abstracts/-base-sent-message-update/index.html">BaseSentMessageUpdate</a></p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="293175038%2FFunctions%2F-1982836883" anchor-label="passportMessages" id="293175038%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">
<div><a href="passport-messages.html"><span>passport</span><wbr></wbr><span><span>Messages</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="293175038%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="passport-messages.html">T</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.types.update.abstracts/-base-sent-message-update/index.html">BaseSentMessageUpdate</a><span class="token operator">&gt; </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="passport-messages.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="passport-messages.html"><span class="token function">passportMessages</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.message/-passport-message/index.html">PassportMessage</a><span class="token operator">&gt;</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1524869960%2FFunctions%2F-1982836883" anchor-label="toTelegramUpdate" id="1524869960%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">
<div><a href="to-telegram-update.html"><span>to</span><wbr></wbr><span>Telegram</span><wbr></wbr><span><span>Update</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1524869960%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="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">.</span><a href="to-telegram-update.html"><span class="token function">toTelegramUpdate</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a></div><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="kotlinx.serialization.json/JsonElement///PointingToDeclaration/">JsonElement</span><span class="token punctuation">.</span><a href="to-telegram-update.html"><span class="token function">toTelegramUpdate</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a></div><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="kotlinx.serialization.json/Json///PointingToDeclaration/">Json</span><span class="token punctuation">.</span><a href="to-telegram-update.html"><span class="token function">toTelegramUpdate</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">source<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a></div><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="kotlinx.serialization.json/Json///PointingToDeclaration/">Json</span><span class="token punctuation">.</span><a href="to-telegram-update.html"><span class="token function">toTelegramUpdate</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">source<span class="token operator">: </span><span data-unresolved-link="kotlinx.serialization.json/JsonElement///PointingToDeclaration/">JsonElement</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2023 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>