1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-23 02:28:45 +00:00
tgbotapi/tgbotapi.behaviour_builder/dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/index.html
2023-09-25 17:36:02 +00:00

2524 lines
1.0 MiB

<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling</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></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></script>
<script type="text/javascript" src="../../scripts/navigation-loader.js" async></script>
<script type="text/javascript" src="../../scripts/platform-content-handler.js" async></script>
<script type="text/javascript" src="../../scripts/main.js" defer></script>
<script type="text/javascript" src="../../scripts/prism.js" async></script>
<script type="text/javascript" src="../../scripts/symbol-parameters-wrapper_deferred.js" 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>ktgbotapi</span> </a> </div>
<div>
</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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/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" data-page-type="package" id="content" pageids="tgbotapi.behaviour_builder::dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling////PointingToDeclaration//148860642">
<div class="breadcrumbs"><a href="../index.html">tgbotapi.behaviour_builder</a><span class="delimiter">/</span><span class="current">dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling</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="TYPE">Types</button><button class="section-tab" data-togglable="FUNCTION,EXTENSION_FUNCTION">Functions</button></div>
<div class="tabs-section-body">
<div data-togglable="TYPE">
<h2 class="">Types</h2>
<div class="table"><a data-name="-1990656072%2FClasslikes%2F148860642" anchor-label="CommonMessageFilter" id="-1990656072%2FClasslikes%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="index.html#-1990656072%2FClasslikes%2F148860642"><span>Common</span><wbr><span>Message</span><wbr><span><span>Filter</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1990656072%2FClasslikes%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">typealias </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="index.html#-1990656072%2FClasslikes%2F148860642">T</a><span class="token operator">&gt;</span><span class="token operator"> = </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="index.html#-1990656072%2FClasslikes%2F148860642">T</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div data-togglable="EXTENSION_FUNCTION">
<h2 class="">Functions</h2>
<div class="table"><a data-name="-75988072%2FFunctions%2F148860642" anchor-label="command" id="-75988072%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="command.html"><span><span>command</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-75988072%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="command.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="command.html">BC</a><span class="token punctuation">.</span><a href="command.html"><span class="token function">command</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">botCommand<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-bot-command/index.html">BotCommand</a><span class="token punctuation">, </span></span><span class="parameter ">requireOnlyCommandInMessage<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator"> = </span><span class="token boolean">true</span><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="command.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="command.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="command.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="command.html">BC</a><span class="token punctuation">.</span><a href="command.html"><span class="token function">command</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">command<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">requireOnlyCommandInMessage<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator"> = </span><span class="token boolean">true</span><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="command.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="command.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="command.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="command.html">BC</a><span class="token punctuation">.</span><a href="command.html"><span class="token function">command</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 class="token punctuation">, </span></span><span class="parameter ">requireOnlyCommandInMessage<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator"> = </span><span class="token boolean">true</span><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="command.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="command.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1351137618%2FFunctions%2F148860642" anchor-label="commandWithArgs" id="-1351137618%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="command-with-args.html"><span>command</span><wbr><span>With</span><wbr><span><span>Args</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1351137618%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="command-with-args.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="command-with-args.html">BC</a><span class="token punctuation">.</span><a href="command-with-args.html"><span class="token function">commandWithArgs</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">botCommand<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-bot-command/index.html">BotCommand</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="command-with-args.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="command-with-args.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="command-with-args.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="command-with-args.html">BC</a><span class="token punctuation">.</span><a href="command-with-args.html"><span class="token function">commandWithArgs</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">command<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="command-with-args.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="command-with-args.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="command-with-args.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="command-with-args.html">BC</a><span class="token punctuation">.</span><a href="command-with-args.html"><span class="token function">commandWithArgs</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 class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="command-with-args.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="command-with-args.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="135959359%2FFunctions%2F148860642" anchor-label="onAnimation" id="135959359%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-animation.html"><span>on</span><wbr><span><span>Animation</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="135959359%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-animation.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-animation.html">BC</a><span class="token punctuation">.</span><a href="on-animation.html"><span class="token function">onAnimation</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-animation-content/index.html">AnimationContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-animation.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-animation-message/index.html">AnimationMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-animation-message/index.html">AnimationMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-animation.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-animation-message/index.html">AnimationMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1221740154%2FFunctions%2F148860642" anchor-label="onAnyInlineQuery" id="1221740154%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-any-inline-query.html"><span>on</span><wbr><span>Any</span><wbr><span>Inline</span><wbr><span><span>Query</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1221740154%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-any-inline-query.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-any-inline-query.html">BC</a><span class="token punctuation">.</span><a href="on-any-inline-query.html"><span class="token function">onAnyInlineQuery</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.query/-inline-query/index.html">InlineQuery</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-any-inline-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.query/-inline-query/index.html">InlineQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>InlineQueryFilterByUser<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.query/-inline-query/index.html">InlineQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByUserInlineQueryMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-any-inline-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.query/-inline-query/index.html">InlineQuery</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="792689069%2FFunctions%2F148860642" anchor-label="onAudio" id="792689069%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-audio.html"><span>on</span><wbr><span><span>Audio</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="792689069%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-audio.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-audio.html">BC</a><span class="token punctuation">.</span><a href="on-audio.html"><span class="token function">onAudio</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-content/index.html">AudioContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-audio.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-message/index.html">AudioMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-message/index.html">AudioMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-audio.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-message/index.html">AudioMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-163366478%2FFunctions%2F148860642" anchor-label="onAudioMediaGroup" id="-163366478%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-audio-media-group.html"><span>on</span><wbr><span>Audio</span><wbr><span>Media</span><wbr><span><span>Group</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-163366478%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-audio-media-group.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-audio-media-group.html">BC</a><span class="token punctuation">.</span><a href="on-audio-media-group.html"><span class="token function">onAudioMediaGroup</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-media-group-part-content/index.html">AudioMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-audio-media-group.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-media-group-message/index.html">AudioMediaGroupMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-media-group-message/index.html">AudioMediaGroupMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-audio-media-group.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-media-group-message/index.html">AudioMediaGroupMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-998645628%2FFunctions%2F148860642" anchor-label="onBaseChosenInlineResult" id="-998645628%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-base-chosen-inline-result.html"><span>on</span><wbr><span>Base</span><wbr><span>Chosen</span><wbr><span>Inline</span><wbr><span><span>Result</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-998645628%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-base-chosen-inline-result.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-base-chosen-inline-result.html">BC</a><span class="token punctuation">.</span><a href="on-base-chosen-inline-result.html"><span class="token function">onBaseChosenInlineResult</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.-chosen-inline-result/-base-chosen-inline-result/index.html">BaseChosenInlineResult</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-base-chosen-inline-result.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.-chosen-inline-result/-base-chosen-inline-result/index.html">BaseChosenInlineResult</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.-chosen-inline-result/-base-chosen-inline-result/index.html">BaseChosenInlineResult</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByUserIdChosenInlineResultMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-base-chosen-inline-result.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.-chosen-inline-result/-base-chosen-inline-result/index.html">BaseChosenInlineResult</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-242437787%2FFunctions%2F148860642" anchor-label="onBaseInlineQuery" id="-242437787%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-base-inline-query.html"><span>on</span><wbr><span>Base</span><wbr><span>Inline</span><wbr><span><span>Query</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-242437787%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-base-inline-query.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-base-inline-query.html">BC</a><span class="token punctuation">.</span><a href="on-base-inline-query.html"><span class="token function">onBaseInlineQuery</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.query/-base-inline-query/index.html">BaseInlineQuery</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-base-inline-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.query/-base-inline-query/index.html">BaseInlineQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>InlineQueryFilterByUser<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.query/-base-inline-query/index.html">BaseInlineQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByUserInlineQueryMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-base-inline-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.query/-base-inline-query/index.html">BaseInlineQuery</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="771014192%2FFunctions%2F148860642" anchor-label="onChannelChatCreated" id="771014192%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-channel-chat-created.html"><span>on</span><wbr><span>Channel</span><wbr><span>Chat</span><wbr><span><span>Created</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="771014192%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-channel-chat-created.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-channel-chat-created.html">BC</a><span class="token punctuation">.</span><a href="on-channel-chat-created.html"><span class="token function">onChannelChatCreated</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-channel-chat-created/index.html">ChannelChatCreated</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-channel-chat-created.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-channel-chat-created/index.html">ChannelChatCreated</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-channel-chat-created/index.html">ChannelChatCreated</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-channel-chat-created.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-channel-chat-created/index.html">ChannelChatCreated</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1064378042%2FFunctions%2F148860642" anchor-label="onChannelEvent" id="-1064378042%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-channel-event.html"><span>on</span><wbr><span>Channel</span><wbr><span><span>Event</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1064378042%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-channel-event.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-channel-event.html">BC</a><span class="token punctuation">.</span><a href="on-channel-event.html"><span class="token function">onChannelEvent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-channel-event/index.html">ChannelEvent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-channel-event.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-channel-event/index.html">ChannelEvent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-channel-event/index.html">ChannelEvent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-channel-event.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-channel-event/index.html">ChannelEvent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1147314539%2FFunctions%2F148860642" anchor-label="onChatEvent" id="1147314539%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-chat-event.html"><span>on</span><wbr><span>Chat</span><wbr><span><span>Event</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1147314539%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-chat-event.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-chat-event.html">BC</a><span class="token punctuation">.</span><a href="on-chat-event.html"><span class="token function">onChatEvent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-chat-event/index.html">ChatEvent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-chat-event.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-chat-event/index.html">ChatEvent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-chat-event/index.html">ChatEvent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-chat-event.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-chat-event/index.html">ChatEvent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="661868616%2FFunctions%2F148860642" anchor-label="onChatJoinRequest" id="661868616%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-chat-join-request.html"><span>on</span><wbr><span>Chat</span><wbr><span>Join</span><wbr><span><span>Request</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="661868616%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-chat-join-request.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-chat-join-request.html">BC</a><span class="token punctuation">.</span><a href="on-chat-join-request.html"><span class="token function">onChatJoinRequest</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat/-chat-join-request/index.html">ChatJoinRequest</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-chat-join-request.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat/-chat-join-request/index.html">ChatJoinRequest</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat/-chat-join-request/index.html">ChatJoinRequest</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatChatJoinRequestMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-chat-join-request.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat/-chat-join-request/index.html">ChatJoinRequest</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="brief "><p class="paragraph">Please, remember that your bot must have <code class="lang-kotlin">can_invite_users</code> to receive these requests</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="844596698%2FFunctions%2F148860642" anchor-label="onChatMemberUpdated" id="844596698%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-chat-member-updated.html"><span>on</span><wbr><span>Chat</span><wbr><span>Member</span><wbr><span><span>Updated</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="844596698%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-chat-member-updated.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-chat-member-updated.html">BC</a><span class="token punctuation">.</span><a href="on-chat-member-updated.html"><span class="token function">onChatMemberUpdated</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat.member/-chat-member-updated/index.html">ChatMemberUpdated</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-chat-member-updated.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat.member/-chat-member-updated/index.html">ChatMemberUpdated</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>ChatMemberUpdatedFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat.member/-chat-member-updated/index.html">ChatMemberUpdated</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatChatMemberUpdatedMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-chat-member-updated.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat.member/-chat-member-updated/index.html">ChatMemberUpdated</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1941620506%2FFunctions%2F148860642" anchor-label="onChatShared" id="-1941620506%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-chat-shared.html"><span>on</span><wbr><span>Chat</span><wbr><span><span>Shared</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1941620506%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-chat-shared.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-chat-shared.html">BC</a><span class="token punctuation">.</span><a href="on-chat-shared.html"><span class="token function">onChatShared</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message/-private-event-message/index.html">PrivateEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.request/-chat-shared/index.html">ChatShared</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-chat-shared.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message/-private-event-message/index.html">PrivateEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.request/-chat-shared/index.html">ChatShared</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.request/-chat-shared/index.html">ChatShared</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-chat-shared.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message/-private-event-message/index.html">PrivateEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.request/-chat-shared/index.html">ChatShared</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-290213577%2FFunctions%2F148860642" anchor-label="onChatSharedRequest" id="-290213577%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-chat-shared-request.html"><span>on</span><wbr><span>Chat</span><wbr><span>Shared</span><wbr><span><span>Request</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-290213577%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-chat-shared-request.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-chat-shared-request.html">BC</a><span class="token punctuation">.</span><a href="on-chat-shared-request.html"><span class="token function">onChatSharedRequest</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message/-private-event-message/index.html">PrivateEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.request/-chat-shared-request/index.html">ChatSharedRequest</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-chat-shared-request.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message/-private-event-message/index.html">PrivateEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.request/-chat-shared-request/index.html">ChatSharedRequest</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.request/-chat-shared-request/index.html">ChatSharedRequest</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-chat-shared-request.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message/-private-event-message/index.html">PrivateEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.request/-chat-shared-request/index.html">ChatSharedRequest</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-2120801707%2FFunctions%2F148860642" anchor-label="onChosenInlineResult" id="-2120801707%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-chosen-inline-result.html"><span>on</span><wbr><span>Chosen</span><wbr><span>Inline</span><wbr><span><span>Result</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2120801707%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-chosen-inline-result.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-chosen-inline-result.html">BC</a><span class="token punctuation">.</span><a href="on-chosen-inline-result.html"><span class="token function">onChosenInlineResult</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.-chosen-inline-result/-chosen-inline-result/index.html">ChosenInlineResult</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-chosen-inline-result.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.-chosen-inline-result/-chosen-inline-result/index.html">ChosenInlineResult</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.-chosen-inline-result/-chosen-inline-result/index.html">ChosenInlineResult</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByUserIdChosenInlineResultMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-chosen-inline-result.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.-chosen-inline-result/-chosen-inline-result/index.html">ChosenInlineResult</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-2076889993%2FFunctions%2F148860642" anchor-label="onCommand" id="-2076889993%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-command.html"><span>on</span><wbr><span><span>Command</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2076889993%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-command.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-command.html">BC</a><span class="token punctuation">.</span><a href="on-command.html"><span class="token function">onCommand</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">botCommand<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-bot-command/index.html">BotCommand</a><span class="token punctuation">, </span></span><span class="parameter ">requireOnlyCommandInMessage<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator"> = </span><span class="token boolean">true</span><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-command.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-command.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-command.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-command.html">BC</a><span class="token punctuation">.</span><a href="on-command.html"><span class="token function">onCommand</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">command<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">requireOnlyCommandInMessage<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator"> = </span><span class="token boolean">true</span><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-command.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-command.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-command.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-command.html">BC</a><span class="token punctuation">.</span><a href="on-command.html"><span class="token function">onCommand</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 class="token punctuation">, </span></span><span class="parameter ">requireOnlyCommandInMessage<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator"> = </span><span class="token boolean">true</span><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-command.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-command.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-241607987%2FFunctions%2F148860642" anchor-label="onCommandWithArgs" id="-241607987%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-command-with-args.html"><span>on</span><wbr><span>Command</span><wbr><span>With</span><wbr><span><span>Args</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-241607987%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-command-with-args.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-command-with-args.html">BC</a><span class="token punctuation">.</span><a href="on-command-with-args.html"><span class="token function">onCommandWithArgs</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">botCommand<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-bot-command/index.html">BotCommand</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-command-with-args.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-command-with-args.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-command-with-args.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-command-with-args.html">BC</a><span class="token punctuation">.</span><a href="on-command-with-args.html"><span class="token function">onCommandWithArgs</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">command<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-command-with-args.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-command-with-args.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-command-with-args.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-command-with-args.html">BC</a><span class="token punctuation">.</span><a href="on-command-with-args.html"><span class="token function">onCommandWithArgs</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 class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-command-with-args.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-command-with-args.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1069945381%2FFunctions%2F148860642" anchor-label="onCommonChatMemberUpdated" id="1069945381%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-common-chat-member-updated.html"><span>on</span><wbr><span>Common</span><wbr><span>Chat</span><wbr><span>Member</span><wbr><span><span>Updated</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1069945381%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-common-chat-member-updated.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-common-chat-member-updated.html">BC</a><span class="token punctuation">.</span><a href="on-common-chat-member-updated.html"><span class="token function">onCommonChatMemberUpdated</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat.member/-chat-member-updated/index.html">ChatMemberUpdated</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-common-chat-member-updated.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat.member/-chat-member-updated/index.html">ChatMemberUpdated</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>ChatMemberUpdatedFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat.member/-chat-member-updated/index.html">ChatMemberUpdated</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatChatMemberUpdatedMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-common-chat-member-updated.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat.member/-chat-member-updated/index.html">ChatMemberUpdated</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1745672182%2FFunctions%2F148860642" anchor-label="onCommonEvent" id="-1745672182%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-common-event.html"><span>on</span><wbr><span>Common</span><wbr><span><span>Event</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1745672182%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-common-event.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-common-event.html">BC</a><span class="token punctuation">.</span><a href="on-common-event.html"><span class="token function">onCommonEvent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-common-event/index.html">CommonEvent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-common-event.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-common-event/index.html">CommonEvent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-common-event/index.html">CommonEvent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-common-event.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-common-event/index.html">CommonEvent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="690431011%2FFunctions%2F148860642" anchor-label="onContact" id="690431011%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-contact.html"><span>on</span><wbr><span><span>Contact</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="690431011%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-contact.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-contact.html">BC</a><span class="token punctuation">.</span><a href="on-contact.html"><span class="token function">onContact</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-contact-content/index.html">ContactContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-contact.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-contact-message/index.html">ContactMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-contact-message/index.html">ContactMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-contact.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-contact-message/index.html">ContactMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-512023825%2FFunctions%2F148860642" anchor-label="onContentMessage" id="-512023825%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-content-message.html"><span>on</span><wbr><span>Content</span><wbr><span><span>Message</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-512023825%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-content-message.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-content-message.html">BC</a><span class="token punctuation">.</span><a href="on-content-message.html"><span class="token function">onContentMessage</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-message-content/index.html">MessageContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-content-message.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-message-content/index.html">MessageContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-message-content/index.html">MessageContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-content-message.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-message-content/index.html">MessageContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="652271613%2FFunctions%2F148860642" anchor-label="onDataCallbackQuery" id="652271613%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-data-callback-query.html"><span>on</span><wbr><span>Data</span><wbr><span>Callback</span><wbr><span><span>Query</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="652271613%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-data-callback-query.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-data-callback-query.html">BC</a><span class="token punctuation">.</span><a href="on-data-callback-query.html"><span class="token function">onDataCallbackQuery</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-data-callback-query/index.html">DataCallbackQuery</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-data-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-data-callback-query/index.html">DataCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CallbackQueryFilterByUser<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-data-callback-query/index.html">DataCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByUserCallbackQueryMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-data-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-data-callback-query/index.html">DataCallbackQuery</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-data-callback-query.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-data-callback-query.html">BC</a><span class="token punctuation">.</span><a href="on-data-callback-query.html"><span class="token function">onDataCallbackQuery</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">data<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-data-callback-query/index.html">DataCallbackQuery</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-data-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-data-callback-query/index.html">DataCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CallbackQueryFilterByUser<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-data-callback-query/index.html">DataCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByUserCallbackQueryMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-data-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-data-callback-query/index.html">DataCallbackQuery</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-data-callback-query.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-data-callback-query.html">BC</a><span class="token punctuation">.</span><a href="on-data-callback-query.html"><span class="token function">onDataCallbackQuery</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">dataRegex<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-regex/index.html">Regex</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-data-callback-query/index.html">DataCallbackQuery</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-data-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-data-callback-query/index.html">DataCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CallbackQueryFilterByUser<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-data-callback-query/index.html">DataCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByUserCallbackQueryMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-data-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-data-callback-query/index.html">DataCallbackQuery</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1451846494%2FFunctions%2F148860642" anchor-label="onDeepLink" id="-1451846494%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-deep-link.html"><span>on</span><wbr><span>Deep</span><wbr><span><span>Link</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1451846494%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-deep-link.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-deep-link.html">BC</a><span class="token punctuation">.</span><a href="on-deep-link.html"><span class="token function">onDeepLink</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><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="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-deep-link.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </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="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>{ (message, _), update -&gt; MessageFilterByChat(this, message, update) }<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><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="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>MarkerFactory { (message, _) -&gt; ByChatMessageMarkerFactory(message) }<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-deep-link.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </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="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-deep-link.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-deep-link.html">BC</a><span class="token punctuation">.</span><a href="on-deep-link.html"><span class="token function">onDeepLink</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">deepLink<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><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="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-deep-link.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </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="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>{ (message, _), update -&gt; MessageFilterByChat(this, message, update) }<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><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="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>MarkerFactory { (message, _) -&gt; ByChatMessageMarkerFactory(message) }<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-deep-link.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </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="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-deep-link.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-deep-link.html">BC</a><span class="token punctuation">.</span><a href="on-deep-link.html"><span class="token function">onDeepLink</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">regex<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-regex/index.html">Regex</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><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="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-deep-link.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </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="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>{ (message, _), update -&gt; MessageFilterByChat(this, message, update) }<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><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="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>MarkerFactory { (message, _) -&gt; ByChatMessageMarkerFactory(message) }<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-deep-link.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </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="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-31429578%2FFunctions%2F148860642" anchor-label="onDeleteChatPhoto" id="-31429578%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-delete-chat-photo.html"><span>on</span><wbr><span>Delete</span><wbr><span>Chat</span><wbr><span><span>Photo</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-31429578%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-delete-chat-photo.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-delete-chat-photo.html">BC</a><span class="token punctuation">.</span><a href="on-delete-chat-photo.html"><span class="token function">onDeleteChatPhoto</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-delete-chat-photo/index.html">DeleteChatPhoto</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-delete-chat-photo.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-delete-chat-photo/index.html">DeleteChatPhoto</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-delete-chat-photo/index.html">DeleteChatPhoto</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-delete-chat-photo.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-delete-chat-photo/index.html">DeleteChatPhoto</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="19342320%2FFunctions%2F148860642" anchor-label="onDice" id="19342320%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-dice.html"><span>on</span><wbr><span><span>Dice</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="19342320%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-dice.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-dice.html">BC</a><span class="token punctuation">.</span><a href="on-dice.html"><span class="token function">onDice</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-dice-content/index.html">DiceContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-dice.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-dice-message/index.html">DiceMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-dice-message/index.html">DiceMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-dice.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-dice-message/index.html">DiceMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1351925196%2FFunctions%2F148860642" anchor-label="onDocument" id="1351925196%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-document.html"><span>on</span><wbr><span><span>Document</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1351925196%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-document.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-document.html">BC</a><span class="token punctuation">.</span><a href="on-document.html"><span class="token function">onDocument</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-content/index.html">DocumentContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-document.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-message/index.html">DocumentMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-message/index.html">DocumentMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-document.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-message/index.html">DocumentMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="562827906%2FFunctions%2F148860642" anchor-label="onDocumentMediaGroupContent" id="562827906%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-document-media-group-content.html"><span>on</span><wbr><span>Document</span><wbr><span>Media</span><wbr><span>Group</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="562827906%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-document-media-group-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-document-media-group-content.html">BC</a><span class="token punctuation">.</span><a href="on-document-media-group-content.html"><span class="token function">onDocumentMediaGroupContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-media-group-part-content/index.html">DocumentMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-document-media-group-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-media-group-message/index.html">DocumentMediaGroupMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-media-group-message/index.html">DocumentMediaGroupMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-document-media-group-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-media-group-message/index.html">DocumentMediaGroupMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-698129776%2FFunctions%2F148860642" anchor-label="onDocumentsGroup" id="-698129776%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-documents-group.html"><span>on</span><wbr><span>Documents</span><wbr><span><span>Group</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-698129776%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-documents-group.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-documents-group.html">BC</a><span class="token punctuation">.</span><a href="on-documents-group.html"><span class="token function">onDocumentsGroup</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-media-group-part-content/index.html">DocumentMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-documents-group.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-media-group-part-content/index.html">DocumentMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-media-group-part-content/index.html">DocumentMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-documents-group.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-media-group-part-content/index.html">DocumentMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1223983542%2FFunctions%2F148860642" anchor-label="onDocumentsGroupMessages" id="-1223983542%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-documents-group-messages.html"><span>on</span><wbr><span>Documents</span><wbr><span>Group</span><wbr><span><span>Messages</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1223983542%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-documents-group-messages.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-documents-group-messages.html">BC</a><span class="token punctuation">.</span><a href="on-documents-group-messages.html"><span class="token function">onDocumentsGroupMessages</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-message/index.html">MediaGroupMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-media-group-part-content/index.html">DocumentMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-documents-group-messages.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-message/index.html">MediaGroupMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-media-group-part-content/index.html">DocumentMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-message/index.html">MediaGroupMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-media-group-part-content/index.html">DocumentMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-documents-group-messages.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-message/index.html">MediaGroupMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-media-group-part-content/index.html">DocumentMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1739881928%2FFunctions%2F148860642" anchor-label="onEditedAnimation" id="1739881928%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-edited-animation.html"><span>on</span><wbr><span>Edited</span><wbr><span><span>Animation</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1739881928%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-animation.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-edited-animation.html">BC</a><span class="token punctuation">.</span><a href="on-edited-animation.html"><span class="token function">onEditedAnimation</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-animation-content/index.html">AnimationContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-animation.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-animation-message/index.html">AnimationMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-animation-message/index.html">AnimationMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-animation.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-animation-message/index.html">AnimationMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="641155766%2FFunctions%2F148860642" anchor-label="onEditedAudio" id="641155766%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-edited-audio.html"><span>on</span><wbr><span>Edited</span><wbr><span><span>Audio</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="641155766%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-audio.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-edited-audio.html">BC</a><span class="token punctuation">.</span><a href="on-edited-audio.html"><span class="token function">onEditedAudio</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-content/index.html">AudioContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-audio.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-message/index.html">AudioMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-message/index.html">AudioMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-audio.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-message/index.html">AudioMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="2003967099%2FFunctions%2F148860642" anchor-label="onEditedAudioMediaGroup" id="2003967099%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-edited-audio-media-group.html"><span>on</span><wbr><span>Edited</span><wbr><span>Audio</span><wbr><span>Media</span><wbr><span><span>Group</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="2003967099%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-audio-media-group.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-edited-audio-media-group.html">BC</a><span class="token punctuation">.</span><a href="on-edited-audio-media-group.html"><span class="token function">onEditedAudioMediaGroup</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-media-group-part-content/index.html">AudioMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-audio-media-group.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-media-group-message/index.html">AudioMediaGroupMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-media-group-message/index.html">AudioMediaGroupMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-audio-media-group.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-media-group-message/index.html">AudioMediaGroupMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-473827860%2FFunctions%2F148860642" anchor-label="onEditedContact" id="-473827860%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-edited-contact.html"><span>on</span><wbr><span>Edited</span><wbr><span><span>Contact</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-473827860%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-contact.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-edited-contact.html">BC</a><span class="token punctuation">.</span><a href="on-edited-contact.html"><span class="token function">onEditedContact</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-contact-content/index.html">ContactContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-contact.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-contact-message/index.html">ContactMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-contact-message/index.html">ContactMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-contact.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-contact-message/index.html">ContactMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1259302150%2FFunctions%2F148860642" anchor-label="onEditedContentMessage" id="1259302150%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-edited-content-message.html"><span>on</span><wbr><span>Edited</span><wbr><span>Content</span><wbr><span><span>Message</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1259302150%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-content-message.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-edited-content-message.html">BC</a><span class="token punctuation">.</span><a href="on-edited-content-message.html"><span class="token function">onEditedContentMessage</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-message-content/index.html">MessageContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-content-message.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-message-content/index.html">MessageContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-message-content/index.html">MessageContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-content-message.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-message-content/index.html">MessageContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="2058754375%2FFunctions%2F148860642" anchor-label="onEditedDice" id="2058754375%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-edited-dice.html"><span>on</span><wbr><span>Edited</span><wbr><span><span>Dice</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="2058754375%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-dice.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-edited-dice.html">BC</a><span class="token punctuation">.</span><a href="on-edited-dice.html"><span class="token function">onEditedDice</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-dice-content/index.html">DiceContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-dice.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-dice-message/index.html">DiceMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-dice-message/index.html">DiceMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-dice.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-dice-message/index.html">DiceMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="571646371%2FFunctions%2F148860642" anchor-label="onEditedDocument" id="571646371%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-edited-document.html"><span>on</span><wbr><span>Edited</span><wbr><span><span>Document</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="571646371%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-document.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-edited-document.html">BC</a><span class="token punctuation">.</span><a href="on-edited-document.html"><span class="token function">onEditedDocument</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-content/index.html">DocumentContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-document.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-message/index.html">DocumentMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-message/index.html">DocumentMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-document.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-message/index.html">DocumentMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1987496075%2FFunctions%2F148860642" anchor-label="onEditedDocumentMediaGroupContent" id="1987496075%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-edited-document-media-group-content.html"><span>on</span><wbr><span>Edited</span><wbr><span>Document</span><wbr><span>Media</span><wbr><span>Group</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1987496075%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-document-media-group-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-edited-document-media-group-content.html">BC</a><span class="token punctuation">.</span><a href="on-edited-document-media-group-content.html"><span class="token function">onEditedDocumentMediaGroupContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-media-group-part-content/index.html">DocumentMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-document-media-group-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-media-group-message/index.html">DocumentMediaGroupMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-media-group-message/index.html">DocumentMediaGroupMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-document-media-group-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-media-group-message/index.html">DocumentMediaGroupMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1415520504%2FFunctions%2F148860642" anchor-label="onEditedGame" id="-1415520504%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-edited-game.html"><span>on</span><wbr><span>Edited</span><wbr><span><span>Game</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1415520504%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-game.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-edited-game.html">BC</a><span class="token punctuation">.</span><a href="on-edited-game.html"><span class="token function">onEditedGame</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-game-content/index.html">GameContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-game.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-game-message/index.html">GameMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-game-message/index.html">GameMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-game.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-game-message/index.html">GameMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-354208193%2FFunctions%2F148860642" anchor-label="onEditedInvoice" id="-354208193%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-edited-invoice.html"><span>on</span><wbr><span>Edited</span><wbr><span><span>Invoice</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-354208193%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-invoice.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-edited-invoice.html">BC</a><span class="token punctuation">.</span><a href="on-edited-invoice.html"><span class="token function">onEditedInvoice</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-invoice-content/index.html">InvoiceContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-invoice.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-invoice-message/index.html">InvoiceMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-invoice-message/index.html">InvoiceMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-invoice.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-invoice-message/index.html">InvoiceMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1224005711%2FFunctions%2F148860642" anchor-label="onEditedLocation" id="-1224005711%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-edited-location.html"><span>on</span><wbr><span>Edited</span><wbr><span><span>Location</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1224005711%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-location.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-edited-location.html">BC</a><span class="token punctuation">.</span><a href="on-edited-location.html"><span class="token function">onEditedLocation</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-location-content/index.html">LocationContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-location.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-location-message/index.html">LocationMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-location-message/index.html">LocationMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-location.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-location-message/index.html">LocationMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1075671576%2FFunctions%2F148860642" anchor-label="onEditedMedia" id="-1075671576%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-edited-media.html"><span>on</span><wbr><span>Edited</span><wbr><span><span>Media</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1075671576%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-media.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-edited-media.html">BC</a><span class="token punctuation">.</span><a href="on-edited-media.html"><span class="token function">onEditedMedia</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-content/index.html">MediaContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-media.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-message/index.html">MediaMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-message/index.html">MediaMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-media.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-message/index.html">MediaMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1946915596%2FFunctions%2F148860642" anchor-label="onEditedMediaCollection" id="1946915596%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-edited-media-collection.html"><span>on</span><wbr><span>Edited</span><wbr><span>Media</span><wbr><span><span>Collection</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1946915596%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-media-collection.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-edited-media-collection.html">BC</a><span class="token punctuation">.</span><a href="on-edited-media-collection.html"><span class="token function">onEditedMediaCollection</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-collection-content/index.html">MediaCollectionContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.files/-telegram-media-file/index.html">TelegramMediaFile</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-media-collection.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-collection-message/index.html">MediaCollectionMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.files/-telegram-media-file/index.html">TelegramMediaFile</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-collection-message/index.html">MediaCollectionMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.files/-telegram-media-file/index.html">TelegramMediaFile</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-media-collection.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-collection-message/index.html">MediaCollectionMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.files/-telegram-media-file/index.html">TelegramMediaFile</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1029863130%2FFunctions%2F148860642" anchor-label="onEditedPhoto" id="1029863130%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-edited-photo.html"><span>on</span><wbr><span>Edited</span><wbr><span><span>Photo</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1029863130%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-photo.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-edited-photo.html">BC</a><span class="token punctuation">.</span><a href="on-edited-photo.html"><span class="token function">onEditedPhoto</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-photo-content/index.html">PhotoContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-photo.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-photo-message/index.html">PhotoMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-photo-message/index.html">PhotoMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-photo.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-photo-message/index.html">PhotoMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1060765231%2FFunctions%2F148860642" anchor-label="onEditedSticker" id="1060765231%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-edited-sticker.html"><span>on</span><wbr><span>Edited</span><wbr><span><span>Sticker</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1060765231%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-sticker.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-edited-sticker.html">BC</a><span class="token punctuation">.</span><a href="on-edited-sticker.html"><span class="token function">onEditedSticker</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-sticker-content/index.html">StickerContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-sticker.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-sticker-message/index.html">StickerMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-sticker-message/index.html">StickerMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-sticker.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-sticker-message/index.html">StickerMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1902951015%2FFunctions%2F148860642" anchor-label="onEditedText" id="-1902951015%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-edited-text.html"><span>on</span><wbr><span>Edited</span><wbr><span><span>Text</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1902951015%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-text.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-edited-text.html">BC</a><span class="token punctuation">.</span><a href="on-edited-text.html"><span class="token function">onEditedText</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-text.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-text.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1512813779%2FFunctions%2F148860642" anchor-label="onEditedTextedMediaContent" id="1512813779%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-edited-texted-media-content.html"><span>on</span><wbr><span>Edited</span><wbr><span>Texted</span><wbr><span>Media</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1512813779%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-texted-media-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-edited-texted-media-content.html">BC</a><span class="token punctuation">.</span><a href="on-edited-texted-media-content.html"><span class="token function">onEditedTextedMediaContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-texted-media-content/index.html">TextedMediaContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-texted-media-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-texted-media-message/index.html">TextedMediaMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-texted-media-message/index.html">TextedMediaMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-texted-media-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-texted-media-message/index.html">TextedMediaMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="2058616957%2FFunctions%2F148860642" anchor-label="onEditedVenue" id="2058616957%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-edited-venue.html"><span>on</span><wbr><span>Edited</span><wbr><span><span>Venue</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="2058616957%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-venue.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-edited-venue.html">BC</a><span class="token punctuation">.</span><a href="on-edited-venue.html"><span class="token function">onEditedVenue</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-venue-content/index.html">VenueContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-venue.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-venue-message/index.html">VenueMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-venue-message/index.html">VenueMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-venue.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-venue-message/index.html">VenueMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="636133105%2FFunctions%2F148860642" anchor-label="onEditedVideo" id="636133105%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-edited-video.html"><span>on</span><wbr><span>Edited</span><wbr><span><span>Video</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="636133105%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-video.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-edited-video.html">BC</a><span class="token punctuation">.</span><a href="on-edited-video.html"><span class="token function">onEditedVideo</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-content/index.html">VideoContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-video.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-message/index.html">VideoMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-message/index.html">VideoMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-video.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-message/index.html">VideoMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-642189409%2FFunctions%2F148860642" anchor-label="onEditedVideoNote" id="-642189409%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-edited-video-note.html"><span>on</span><wbr><span>Edited</span><wbr><span>Video</span><wbr><span><span>Note</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-642189409%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-video-note.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-edited-video-note.html">BC</a><span class="token punctuation">.</span><a href="on-edited-video-note.html"><span class="token function">onEditedVideoNote</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-note-content/index.html">VideoNoteContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-video-note.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-note-message/index.html">VideoNoteMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-note-message/index.html">VideoNoteMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-video-note.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-note-message/index.html">VideoNoteMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="610857946%2FFunctions%2F148860642" anchor-label="onEditedVoice" id="610857946%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-edited-voice.html"><span>on</span><wbr><span>Edited</span><wbr><span><span>Voice</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="610857946%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-voice.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-edited-voice.html">BC</a><span class="token punctuation">.</span><a href="on-edited-voice.html"><span class="token function">onEditedVoice</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-voice-content/index.html">VoiceContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-voice.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-voice-message/index.html">VoiceMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-voice-message/index.html">VoiceMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-edited-voice.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-voice-message/index.html">VoiceMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-536731689%2FFunctions%2F148860642" anchor-label="onForumTopicClosed" id="-536731689%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-forum-topic-closed.html"><span>on</span><wbr><span>Forum</span><wbr><span>Topic</span><wbr><span><span>Closed</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-536731689%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-forum-topic-closed.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-forum-topic-closed.html">BC</a><span class="token punctuation">.</span><a href="on-forum-topic-closed.html"><span class="token function">onForumTopicClosed</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-supergroup-event-message/index.html">SupergroupEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-forum-topic-closed/index.html">ForumTopicClosed</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-forum-topic-closed.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-supergroup-event-message/index.html">SupergroupEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-forum-topic-closed/index.html">ForumTopicClosed</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-forum-topic-closed/index.html">ForumTopicClosed</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-forum-topic-closed.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-supergroup-event-message/index.html">SupergroupEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-forum-topic-closed/index.html">ForumTopicClosed</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-218255785%2FFunctions%2F148860642" anchor-label="onForumTopicCreated" id="-218255785%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-forum-topic-created.html"><span>on</span><wbr><span>Forum</span><wbr><span>Topic</span><wbr><span><span>Created</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-218255785%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-forum-topic-created.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-forum-topic-created.html">BC</a><span class="token punctuation">.</span><a href="on-forum-topic-created.html"><span class="token function">onForumTopicCreated</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-supergroup-event-message/index.html">SupergroupEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-forum-topic-created/index.html">ForumTopicCreated</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-forum-topic-created.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-supergroup-event-message/index.html">SupergroupEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-forum-topic-created/index.html">ForumTopicCreated</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-forum-topic-created/index.html">ForumTopicCreated</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-forum-topic-created.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-supergroup-event-message/index.html">SupergroupEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-forum-topic-created/index.html">ForumTopicCreated</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="225814202%2FFunctions%2F148860642" anchor-label="onForumTopicEdited" id="225814202%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-forum-topic-edited.html"><span>on</span><wbr><span>Forum</span><wbr><span>Topic</span><wbr><span><span>Edited</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="225814202%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-forum-topic-edited.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-forum-topic-edited.html">BC</a><span class="token punctuation">.</span><a href="on-forum-topic-edited.html"><span class="token function">onForumTopicEdited</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-supergroup-event-message/index.html">SupergroupEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-forum-topic-edited/index.html">ForumTopicEdited</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-forum-topic-edited.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-supergroup-event-message/index.html">SupergroupEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-forum-topic-edited/index.html">ForumTopicEdited</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-forum-topic-edited/index.html">ForumTopicEdited</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-forum-topic-edited.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-supergroup-event-message/index.html">SupergroupEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-forum-topic-edited/index.html">ForumTopicEdited</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="2013472359%2FFunctions%2F148860642" anchor-label="onForumTopicReopened" id="2013472359%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-forum-topic-reopened.html"><span>on</span><wbr><span>Forum</span><wbr><span>Topic</span><wbr><span><span>Reopened</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="2013472359%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-forum-topic-reopened.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-forum-topic-reopened.html">BC</a><span class="token punctuation">.</span><a href="on-forum-topic-reopened.html"><span class="token function">onForumTopicReopened</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-supergroup-event-message/index.html">SupergroupEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-forum-topic-reopened/index.html">ForumTopicReopened</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-forum-topic-reopened.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-supergroup-event-message/index.html">SupergroupEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-forum-topic-reopened/index.html">ForumTopicReopened</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-forum-topic-reopened/index.html">ForumTopicReopened</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-forum-topic-reopened.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-supergroup-event-message/index.html">SupergroupEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-forum-topic-reopened/index.html">ForumTopicReopened</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="840034737%2FFunctions%2F148860642" anchor-label="onGame" id="840034737%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-game.html"><span>on</span><wbr><span><span>Game</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="840034737%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-game.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-game.html">BC</a><span class="token punctuation">.</span><a href="on-game.html"><span class="token function">onGame</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-game-content/index.html">GameContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-game.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-game-message/index.html">GameMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-game-message/index.html">GameMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-game.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-game-message/index.html">GameMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-461052401%2FFunctions%2F148860642" anchor-label="onGameShortNameCallbackQuery" id="-461052401%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-game-short-name-callback-query.html"><span>on</span><wbr><span>Game</span><wbr><span>Short</span><wbr><span>Name</span><wbr><span>Callback</span><wbr><span><span>Query</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-461052401%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-game-short-name-callback-query.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-game-short-name-callback-query.html">BC</a><span class="token punctuation">.</span><a href="on-game-short-name-callback-query.html"><span class="token function">onGameShortNameCallbackQuery</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-game-short-name-callback-query/index.html">GameShortNameCallbackQuery</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-game-short-name-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-game-short-name-callback-query/index.html">GameShortNameCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CallbackQueryFilterByUser<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-game-short-name-callback-query/index.html">GameShortNameCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByUserCallbackQueryMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-game-short-name-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-game-short-name-callback-query/index.html">GameShortNameCallbackQuery</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1917091737%2FFunctions%2F148860642" anchor-label="onGeneralForumTopicHidden" id="1917091737%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-general-forum-topic-hidden.html"><span>on</span><wbr><span>General</span><wbr><span>Forum</span><wbr><span>Topic</span><wbr><span><span>Hidden</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1917091737%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-general-forum-topic-hidden.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-general-forum-topic-hidden.html">BC</a><span class="token punctuation">.</span><a href="on-general-forum-topic-hidden.html"><span class="token function">onGeneralForumTopicHidden</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-supergroup-event-message/index.html">SupergroupEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-general-forum-topic-hidden/index.html">GeneralForumTopicHidden</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-general-forum-topic-hidden.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-supergroup-event-message/index.html">SupergroupEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-general-forum-topic-hidden/index.html">GeneralForumTopicHidden</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-general-forum-topic-hidden/index.html">GeneralForumTopicHidden</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-general-forum-topic-hidden.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-supergroup-event-message/index.html">SupergroupEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-general-forum-topic-hidden/index.html">GeneralForumTopicHidden</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1089188668%2FFunctions%2F148860642" anchor-label="onGeneralForumTopicUnhidden" id="1089188668%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-general-forum-topic-unhidden.html"><span>on</span><wbr><span>General</span><wbr><span>Forum</span><wbr><span>Topic</span><wbr><span><span>Unhidden</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1089188668%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-general-forum-topic-unhidden.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-general-forum-topic-unhidden.html">BC</a><span class="token punctuation">.</span><a href="on-general-forum-topic-unhidden.html"><span class="token function">onGeneralForumTopicUnhidden</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-supergroup-event-message/index.html">SupergroupEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-general-forum-topic-unhidden/index.html">GeneralForumTopicUnhidden</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-general-forum-topic-unhidden.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-supergroup-event-message/index.html">SupergroupEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-general-forum-topic-unhidden/index.html">GeneralForumTopicUnhidden</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-general-forum-topic-unhidden/index.html">GeneralForumTopicUnhidden</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-general-forum-topic-unhidden.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-supergroup-event-message/index.html">SupergroupEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-general-forum-topic-unhidden/index.html">GeneralForumTopicUnhidden</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-459801428%2FFunctions%2F148860642" anchor-label="onGroupChatCreated" id="-459801428%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-group-chat-created.html"><span>on</span><wbr><span>Group</span><wbr><span>Chat</span><wbr><span><span>Created</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-459801428%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-group-chat-created.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-group-chat-created.html">BC</a><span class="token punctuation">.</span><a href="on-group-chat-created.html"><span class="token function">onGroupChatCreated</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-group-chat-created/index.html">GroupChatCreated</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-group-chat-created.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-group-chat-created/index.html">GroupChatCreated</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-group-chat-created/index.html">GroupChatCreated</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-group-chat-created.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-group-chat-created/index.html">GroupChatCreated</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="430641730%2FFunctions%2F148860642" anchor-label="onGroupEvent" id="430641730%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-group-event.html"><span>on</span><wbr><span>Group</span><wbr><span><span>Event</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="430641730%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-group-event.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-group-event.html">BC</a><span class="token punctuation">.</span><a href="on-group-event.html"><span class="token function">onGroupEvent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-group-event/index.html">GroupEvent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-group-event.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-group-event/index.html">GroupEvent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-group-event/index.html">GroupEvent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-group-event.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-group-event/index.html">GroupEvent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-144525149%2FFunctions%2F148860642" anchor-label="onInlineMessageIdCallbackQuery" id="-144525149%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-inline-message-id-callback-query.html"><span>on</span><wbr><span>Inline</span><wbr><span>Message</span><wbr><span>Id</span><wbr><span>Callback</span><wbr><span><span>Query</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-144525149%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-inline-message-id-callback-query.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-inline-message-id-callback-query.html">BC</a><span class="token punctuation">.</span><a href="on-inline-message-id-callback-query.html"><span class="token function">onInlineMessageIdCallbackQuery</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-inline-message-id-callback-query/index.html">InlineMessageIdCallbackQuery</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-inline-message-id-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-inline-message-id-callback-query/index.html">InlineMessageIdCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CallbackQueryFilterByUser<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-inline-message-id-callback-query/index.html">InlineMessageIdCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByUserCallbackQueryMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-inline-message-id-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-inline-message-id-callback-query/index.html">InlineMessageIdCallbackQuery</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-550076968%2FFunctions%2F148860642" anchor-label="onInlineMessageIdDataCallbackQuery" id="-550076968%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-inline-message-id-data-callback-query.html"><span>on</span><wbr><span>Inline</span><wbr><span>Message</span><wbr><span>Id</span><wbr><span>Data</span><wbr><span>Callback</span><wbr><span><span>Query</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-550076968%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-inline-message-id-data-callback-query.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-inline-message-id-data-callback-query.html">BC</a><span class="token punctuation">.</span><a href="on-inline-message-id-data-callback-query.html"><span class="token function">onInlineMessageIdDataCallbackQuery</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-inline-message-id-data-callback-query/index.html">InlineMessageIdDataCallbackQuery</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-inline-message-id-data-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-inline-message-id-data-callback-query/index.html">InlineMessageIdDataCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CallbackQueryFilterByUser<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-inline-message-id-data-callback-query/index.html">InlineMessageIdDataCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByUserCallbackQueryMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-inline-message-id-data-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-inline-message-id-data-callback-query/index.html">InlineMessageIdDataCallbackQuery</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-inline-message-id-data-callback-query.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-inline-message-id-data-callback-query.html">BC</a><span class="token punctuation">.</span><a href="on-inline-message-id-data-callback-query.html"><span class="token function">onInlineMessageIdDataCallbackQuery</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">data<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-inline-message-id-data-callback-query/index.html">InlineMessageIdDataCallbackQuery</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-inline-message-id-data-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-inline-message-id-data-callback-query/index.html">InlineMessageIdDataCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CallbackQueryFilterByUser<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-inline-message-id-data-callback-query/index.html">InlineMessageIdDataCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByUserCallbackQueryMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-inline-message-id-data-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-inline-message-id-data-callback-query/index.html">InlineMessageIdDataCallbackQuery</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-inline-message-id-data-callback-query.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-inline-message-id-data-callback-query.html">BC</a><span class="token punctuation">.</span><a href="on-inline-message-id-data-callback-query.html"><span class="token function">onInlineMessageIdDataCallbackQuery</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">dataRegex<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-regex/index.html">Regex</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-inline-message-id-data-callback-query/index.html">InlineMessageIdDataCallbackQuery</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-inline-message-id-data-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-inline-message-id-data-callback-query/index.html">InlineMessageIdDataCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CallbackQueryFilterByUser<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-inline-message-id-data-callback-query/index.html">InlineMessageIdDataCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByUserCallbackQueryMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-inline-message-id-data-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-inline-message-id-data-callback-query/index.html">InlineMessageIdDataCallbackQuery</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1741175462%2FFunctions%2F148860642" anchor-label="onInlineMessageIdGameShortNameCallbackQuery" id="-1741175462%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-inline-message-id-game-short-name-callback-query.html"><span>on</span><wbr><span>Inline</span><wbr><span>Message</span><wbr><span>Id</span><wbr><span>Game</span><wbr><span>Short</span><wbr><span>Name</span><wbr><span>Callback</span><wbr><span><span>Query</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1741175462%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-inline-message-id-game-short-name-callback-query.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-inline-message-id-game-short-name-callback-query.html">BC</a><span class="token punctuation">.</span><a href="on-inline-message-id-game-short-name-callback-query.html"><span class="token function">onInlineMessageIdGameShortNameCallbackQuery</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-inline-message-id-game-short-name-callback-query/index.html">InlineMessageIdGameShortNameCallbackQuery</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-inline-message-id-game-short-name-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-inline-message-id-game-short-name-callback-query/index.html">InlineMessageIdGameShortNameCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CallbackQueryFilterByUser<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-inline-message-id-game-short-name-callback-query/index.html">InlineMessageIdGameShortNameCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByUserCallbackQueryMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-inline-message-id-game-short-name-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-inline-message-id-game-short-name-callback-query/index.html">InlineMessageIdGameShortNameCallbackQuery</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="810050678%2FFunctions%2F148860642" anchor-label="onInvoice" id="810050678%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-invoice.html"><span>on</span><wbr><span><span>Invoice</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="810050678%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-invoice.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-invoice.html">BC</a><span class="token punctuation">.</span><a href="on-invoice.html"><span class="token function">onInvoice</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-invoice-content/index.html">InvoiceContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-invoice.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-invoice-message/index.html">InvoiceMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-invoice-message/index.html">InvoiceMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-invoice.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-invoice-message/index.html">InvoiceMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-22459202%2FFunctions%2F148860642" anchor-label="onLeftChatMember" id="-22459202%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-left-chat-member.html"><span>on</span><wbr><span>Left</span><wbr><span>Chat</span><wbr><span><span>Member</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-22459202%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-left-chat-member.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-left-chat-member.html">BC</a><span class="token punctuation">.</span><a href="on-left-chat-member.html"><span class="token function">onLeftChatMember</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-left-chat-member-event/index.html">LeftChatMemberEvent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-left-chat-member.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-left-chat-member-event/index.html">LeftChatMemberEvent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-left-chat-member-event/index.html">LeftChatMemberEvent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-left-chat-member.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-left-chat-member-event/index.html">LeftChatMemberEvent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="257516926%2FFunctions%2F148860642" anchor-label="onLiveLocation" id="257516926%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-live-location.html"><span>on</span><wbr><span>Live</span><wbr><span><span>Location</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="257516926%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-live-location.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-live-location.html">BC</a><span class="token punctuation">.</span><a href="on-live-location.html"><span class="token function">onLiveLocation</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-live-location-content/index.html">LiveLocationContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-live-location.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-live-location-message/index.html">LiveLocationMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-live-location-message/index.html">LiveLocationMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-live-location.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-live-location-message/index.html">LiveLocationMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-443726886%2FFunctions%2F148860642" anchor-label="onLocation" id="-443726886%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-location.html"><span>on</span><wbr><span><span>Location</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-443726886%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-location.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-location.html">BC</a><span class="token punctuation">.</span><a href="on-location.html"><span class="token function">onLocation</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-location-content/index.html">LocationContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-location.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-location-message/index.html">LocationMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-location-message/index.html">LocationMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-location.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-location-message/index.html">LocationMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1360845024%2FFunctions%2F148860642" anchor-label="onLocationChosenInlineResult" id="-1360845024%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-location-chosen-inline-result.html"><span>on</span><wbr><span>Location</span><wbr><span>Chosen</span><wbr><span>Inline</span><wbr><span><span>Result</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1360845024%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-location-chosen-inline-result.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-location-chosen-inline-result.html">BC</a><span class="token punctuation">.</span><a href="on-location-chosen-inline-result.html"><span class="token function">onLocationChosenInlineResult</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.-chosen-inline-result/-location-chosen-inline-result/index.html">LocationChosenInlineResult</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-location-chosen-inline-result.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.-chosen-inline-result/-location-chosen-inline-result/index.html">LocationChosenInlineResult</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.-chosen-inline-result/-location-chosen-inline-result/index.html">LocationChosenInlineResult</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByUserIdChosenInlineResultMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-location-chosen-inline-result.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.-chosen-inline-result/-location-chosen-inline-result/index.html">LocationChosenInlineResult</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1598986167%2FFunctions%2F148860642" anchor-label="onLocationInlineQuery" id="-1598986167%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-location-inline-query.html"><span>on</span><wbr><span>Location</span><wbr><span>Inline</span><wbr><span><span>Query</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1598986167%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-location-inline-query.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-location-inline-query.html">BC</a><span class="token punctuation">.</span><a href="on-location-inline-query.html"><span class="token function">onLocationInlineQuery</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.query/-location-inline-query/index.html">LocationInlineQuery</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-location-inline-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.query/-location-inline-query/index.html">LocationInlineQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>InlineQueryFilterByUser<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.query/-location-inline-query/index.html">LocationInlineQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByUserInlineQueryMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-location-inline-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.query/-location-inline-query/index.html">LocationInlineQuery</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-924138273%2FFunctions%2F148860642" anchor-label="onMedia" id="-924138273%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-media.html"><span>on</span><wbr><span><span>Media</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-924138273%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-media.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-media.html">BC</a><span class="token punctuation">.</span><a href="on-media.html"><span class="token function">onMedia</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-content/index.html">MediaContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-media.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-message/index.html">MediaMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-message/index.html">MediaMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-media.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-message/index.html">MediaMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1667112253%2FFunctions%2F148860642" anchor-label="onMediaCollection" id="-1667112253%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-media-collection.html"><span>on</span><wbr><span>Media</span><wbr><span><span>Collection</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1667112253%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-media-collection.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-media-collection.html">BC</a><span class="token punctuation">.</span><a href="on-media-collection.html"><span class="token function">onMediaCollection</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-collection-content/index.html">MediaCollectionContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.files/-telegram-media-file/index.html">TelegramMediaFile</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-media-collection.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-collection-message/index.html">MediaCollectionMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.files/-telegram-media-file/index.html">TelegramMediaFile</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-collection-message/index.html">MediaCollectionMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.files/-telegram-media-file/index.html">TelegramMediaFile</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-media-collection.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-collection-message/index.html">MediaCollectionMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.files/-telegram-media-file/index.html">TelegramMediaFile</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1398813720%2FFunctions%2F148860642" anchor-label="onMediaContent" id="-1398813720%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-media-content.html"><span>on</span><wbr><span>Media</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1398813720%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-media-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-media-content.html">BC</a><span class="token punctuation">.</span><a href="on-media-content.html"><span class="token function">onMediaContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-content/index.html">MediaContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-media-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-message/index.html">MediaMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-message/index.html">MediaMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-media-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-message/index.html">MediaMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-412766704%2FFunctions%2F148860642" anchor-label="onMediaGroup" id="-412766704%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-media-group.html"><span>on</span><wbr><span>Media</span><wbr><span><span>Group</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-412766704%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-media-group.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-media-group.html">BC</a><span class="token punctuation">.</span><a href="on-media-group.html"><span class="token function">onMediaGroup</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-media-group.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-media-group.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1171751178%2FFunctions%2F148860642" anchor-label="onMediaGroupMessages" id="-1171751178%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-media-group-messages.html"><span>on</span><wbr><span>Media</span><wbr><span>Group</span><wbr><span><span>Messages</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1171751178%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-media-group-messages.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-media-group-messages.html">BC</a><span class="token punctuation">.</span><a href="on-media-group-messages.html"><span class="token function">onMediaGroupMessages</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-message/index.html">MediaGroupMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-media-group-messages.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-message/index.html">MediaGroupMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-message/index.html">MediaGroupMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-media-group-messages.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-message/index.html">MediaGroupMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-751060875%2FFunctions%2F148860642" anchor-label="onMentionWithAnimationContent" id="-751060875%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-mention-with-animation-content.html"><span>on</span><wbr><span>Mention</span><wbr><span>With</span><wbr><span>Animation</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-751060875%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-animation-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-mention-with-animation-content.html">BC</a><span class="token punctuation">.</span><a href="on-mention-with-animation-content.html"><span class="token function">onMentionWithAnimationContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">username<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-username/index.html">Username</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-animation-content/index.html">AnimationContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-animation-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-animation-content/index.html">AnimationContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-animation-content/index.html">AnimationContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-animation-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-animation-content/index.html">AnimationContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-animation-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-mention-with-animation-content.html">BC</a><span class="token punctuation">.</span><a href="on-mention-with-animation-content.html"><span class="token function">onMentionWithAnimationContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">user<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat/-user/index.html">User</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-animation-content/index.html">AnimationContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-animation-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-animation-content/index.html">AnimationContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-animation-content/index.html">AnimationContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-animation-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-animation-content/index.html">AnimationContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="282159505%2FFunctions%2F148860642" anchor-label="onMentionWithAnyContent" id="282159505%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-mention-with-any-content.html"><span>on</span><wbr><span>Mention</span><wbr><span>With</span><wbr><span>Any</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="282159505%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-any-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-mention-with-any-content.html">BC</a><span class="token punctuation">.</span><a href="on-mention-with-any-content.html"><span class="token function">onMentionWithAnyContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">username<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-username/index.html">Username</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-texted-content/index.html">TextedContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-any-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-texted-content/index.html">TextedContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-texted-content/index.html">TextedContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-any-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-texted-content/index.html">TextedContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-any-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-mention-with-any-content.html">BC</a><span class="token punctuation">.</span><a href="on-mention-with-any-content.html"><span class="token function">onMentionWithAnyContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">user<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat/-user/index.html">User</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-texted-content/index.html">TextedContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-any-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-texted-content/index.html">TextedContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-texted-content/index.html">TextedContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-any-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-texted-content/index.html">TextedContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-234429259%2FFunctions%2F148860642" anchor-label="onMentionWithAudioContent" id="-234429259%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-mention-with-audio-content.html"><span>on</span><wbr><span>Mention</span><wbr><span>With</span><wbr><span>Audio</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-234429259%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-audio-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-mention-with-audio-content.html">BC</a><span class="token punctuation">.</span><a href="on-mention-with-audio-content.html"><span class="token function">onMentionWithAudioContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">username<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-username/index.html">Username</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-content/index.html">AudioContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-audio-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-content/index.html">AudioContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-content/index.html">AudioContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-audio-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-content/index.html">AudioContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-audio-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-mention-with-audio-content.html">BC</a><span class="token punctuation">.</span><a href="on-mention-with-audio-content.html"><span class="token function">onMentionWithAudioContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">user<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat/-user/index.html">User</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-content/index.html">AudioContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-audio-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-content/index.html">AudioContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-content/index.html">AudioContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-audio-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-content/index.html">AudioContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-971982709%2FFunctions%2F148860642" anchor-label="onMentionWithDocumentContent" id="-971982709%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-mention-with-document-content.html"><span>on</span><wbr><span>Mention</span><wbr><span>With</span><wbr><span>Document</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-971982709%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-document-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-mention-with-document-content.html">BC</a><span class="token punctuation">.</span><a href="on-mention-with-document-content.html"><span class="token function">onMentionWithDocumentContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">username<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-username/index.html">Username</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-content/index.html">DocumentContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-document-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-content/index.html">DocumentContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-content/index.html">DocumentContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-document-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-content/index.html">DocumentContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-document-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-mention-with-document-content.html">BC</a><span class="token punctuation">.</span><a href="on-mention-with-document-content.html"><span class="token function">onMentionWithDocumentContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">user<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat/-user/index.html">User</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-content/index.html">DocumentContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-document-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-content/index.html">DocumentContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-content/index.html">DocumentContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-document-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-content/index.html">DocumentContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-55469070%2FFunctions%2F148860642" anchor-label="onMentionWithMediaGroupContent" id="-55469070%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-mention-with-media-group-content.html"><span>on</span><wbr><span>Mention</span><wbr><span>With</span><wbr><span>Media</span><wbr><span>Group</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-55469070%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-media-group-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-mention-with-media-group-content.html">BC</a><span class="token punctuation">.</span><a href="on-mention-with-media-group-content.html"><span class="token function">onMentionWithMediaGroupContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">username<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-username/index.html">Username</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-media-group-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-media-group-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-media-group-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-mention-with-media-group-content.html">BC</a><span class="token punctuation">.</span><a href="on-mention-with-media-group-content.html"><span class="token function">onMentionWithMediaGroupContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">user<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat/-user/index.html">User</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-media-group-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-media-group-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="144051825%2FFunctions%2F148860642" anchor-label="onMentionWithMediaGroupPartContent" id="144051825%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-mention-with-media-group-part-content.html"><span>on</span><wbr><span>Mention</span><wbr><span>With</span><wbr><span>Media</span><wbr><span>Group</span><wbr><span>Part</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="144051825%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-media-group-part-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-mention-with-media-group-part-content.html">BC</a><span class="token punctuation">.</span><a href="on-mention-with-media-group-part-content.html"><span class="token function">onMentionWithMediaGroupPartContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">username<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-username/index.html">Username</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-media-group-part-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-media-group-part-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-media-group-part-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-mention-with-media-group-part-content.html">BC</a><span class="token punctuation">.</span><a href="on-mention-with-media-group-part-content.html"><span class="token function">onMentionWithMediaGroupPartContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">user<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat/-user/index.html">User</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-media-group-part-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-media-group-part-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1828243403%2FFunctions%2F148860642" anchor-label="onMentionWithPhotoContent" id="-1828243403%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-mention-with-photo-content.html"><span>on</span><wbr><span>Mention</span><wbr><span>With</span><wbr><span>Photo</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1828243403%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-photo-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-mention-with-photo-content.html">BC</a><span class="token punctuation">.</span><a href="on-mention-with-photo-content.html"><span class="token function">onMentionWithPhotoContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">username<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-username/index.html">Username</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-photo-content/index.html">PhotoContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-photo-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-photo-content/index.html">PhotoContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-photo-content/index.html">PhotoContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-photo-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-photo-content/index.html">PhotoContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-photo-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-mention-with-photo-content.html">BC</a><span class="token punctuation">.</span><a href="on-mention-with-photo-content.html"><span class="token function">onMentionWithPhotoContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">user<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat/-user/index.html">User</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-photo-content/index.html">PhotoContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-photo-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-photo-content/index.html">PhotoContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-photo-content/index.html">PhotoContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-photo-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-photo-content/index.html">PhotoContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1710112815%2FFunctions%2F148860642" anchor-label="onMentionWithTextContent" id="1710112815%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-mention-with-text-content.html"><span>on</span><wbr><span>Mention</span><wbr><span>With</span><wbr><span>Text</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1710112815%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-text-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-mention-with-text-content.html">BC</a><span class="token punctuation">.</span><a href="on-mention-with-text-content.html"><span class="token function">onMentionWithTextContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">username<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-username/index.html">Username</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-text-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/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="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-text-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-text-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-mention-with-text-content.html">BC</a><span class="token punctuation">.</span><a href="on-mention-with-text-content.html"><span class="token function">onMentionWithTextContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">user<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat/-user/index.html">User</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-text-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/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="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-text-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1047052459%2FFunctions%2F148860642" anchor-label="onMentionWithVideoContent" id="-1047052459%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-mention-with-video-content.html"><span>on</span><wbr><span>Mention</span><wbr><span>With</span><wbr><span>Video</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1047052459%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-video-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-mention-with-video-content.html">BC</a><span class="token punctuation">.</span><a href="on-mention-with-video-content.html"><span class="token function">onMentionWithVideoContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">username<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-username/index.html">Username</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-content/index.html">VideoContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-video-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-content/index.html">VideoContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-content/index.html">VideoContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-video-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-content/index.html">VideoContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-video-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-mention-with-video-content.html">BC</a><span class="token punctuation">.</span><a href="on-mention-with-video-content.html"><span class="token function">onMentionWithVideoContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">user<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat/-user/index.html">User</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-content/index.html">VideoContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-video-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-content/index.html">VideoContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-content/index.html">VideoContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-video-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-content/index.html">VideoContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1422894257%2FFunctions%2F148860642" anchor-label="onMentionWithVisualMediaGroupPartContent" id="1422894257%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-mention-with-visual-media-group-part-content.html"><span>on</span><wbr><span>Mention</span><wbr><span>With</span><wbr><span>Visual</span><wbr><span>Media</span><wbr><span>Group</span><wbr><span>Part</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1422894257%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-visual-media-group-part-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-mention-with-visual-media-group-part-content.html">BC</a><span class="token punctuation">.</span><a href="on-mention-with-visual-media-group-part-content.html"><span class="token function">onMentionWithVisualMediaGroupPartContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">username<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-username/index.html">Username</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-visual-media-group-part-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-visual-media-group-part-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-visual-media-group-part-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-mention-with-visual-media-group-part-content.html">BC</a><span class="token punctuation">.</span><a href="on-mention-with-visual-media-group-part-content.html"><span class="token function">onMentionWithVisualMediaGroupPartContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">user<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat/-user/index.html">User</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-visual-media-group-part-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-visual-media-group-part-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="715495477%2FFunctions%2F148860642" anchor-label="onMentionWithVoiceContent" id="715495477%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-mention-with-voice-content.html"><span>on</span><wbr><span>Mention</span><wbr><span>With</span><wbr><span>Voice</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="715495477%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-voice-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-mention-with-voice-content.html">BC</a><span class="token punctuation">.</span><a href="on-mention-with-voice-content.html"><span class="token function">onMentionWithVoiceContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">username<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-username/index.html">Username</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-voice-content/index.html">VoiceContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-voice-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-voice-content/index.html">VoiceContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-voice-content/index.html">VoiceContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-voice-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-voice-content/index.html">VoiceContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-voice-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-mention-with-voice-content.html">BC</a><span class="token punctuation">.</span><a href="on-mention-with-voice-content.html"><span class="token function">onMentionWithVoiceContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">user<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat/-user/index.html">User</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-voice-content/index.html">VoiceContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-voice-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-voice-content/index.html">VoiceContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-voice-content/index.html">VoiceContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-mention-with-voice-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-voice-content/index.html">VoiceContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-548710959%2FFunctions%2F148860642" anchor-label="onMessageAutoDeleteTimerChangedEvent" id="-548710959%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-message-auto-delete-timer-changed-event.html"><span>on</span><wbr><span>Message</span><wbr><span>Auto</span><wbr><span>Delete</span><wbr><span>Timer</span><wbr><span>Changed</span><wbr><span><span>Event</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-548710959%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-message-auto-delete-timer-changed-event.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-message-auto-delete-timer-changed-event.html">BC</a><span class="token punctuation">.</span><a href="on-message-auto-delete-timer-changed-event.html"><span class="token function">onMessageAutoDeleteTimerChangedEvent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-message-auto-delete-timer-changed/index.html">MessageAutoDeleteTimerChanged</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-message-auto-delete-timer-changed-event.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-message-auto-delete-timer-changed/index.html">MessageAutoDeleteTimerChanged</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-message-auto-delete-timer-changed/index.html">MessageAutoDeleteTimerChanged</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-message-auto-delete-timer-changed-event.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-message-auto-delete-timer-changed/index.html">MessageAutoDeleteTimerChanged</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1343827519%2FFunctions%2F148860642" anchor-label="onMessageCallbackQuery" id="-1343827519%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-message-callback-query.html"><span>on</span><wbr><span>Message</span><wbr><span>Callback</span><wbr><span><span>Query</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1343827519%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-message-callback-query.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-message-callback-query.html">BC</a><span class="token punctuation">.</span><a href="on-message-callback-query.html"><span class="token function">onMessageCallbackQuery</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-message-callback-query/index.html">MessageCallbackQuery</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-message-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-message-callback-query/index.html">MessageCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CallbackQueryFilterByUser<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-message-callback-query/index.html">MessageCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByUserCallbackQueryMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-message-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-message-callback-query/index.html">MessageCallbackQuery</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1228077386%2FFunctions%2F148860642" anchor-label="onMessageDataCallbackQuery" id="-1228077386%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-message-data-callback-query.html"><span>on</span><wbr><span>Message</span><wbr><span>Data</span><wbr><span>Callback</span><wbr><span><span>Query</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1228077386%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-message-data-callback-query.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-message-data-callback-query.html">BC</a><span class="token punctuation">.</span><a href="on-message-data-callback-query.html"><span class="token function">onMessageDataCallbackQuery</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-message-data-callback-query/index.html">MessageDataCallbackQuery</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-message-data-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-message-data-callback-query/index.html">MessageDataCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CallbackQueryFilterByUser<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-message-data-callback-query/index.html">MessageDataCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByUserCallbackQueryMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-message-data-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-message-data-callback-query/index.html">MessageDataCallbackQuery</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-message-data-callback-query.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-message-data-callback-query.html">BC</a><span class="token punctuation">.</span><a href="on-message-data-callback-query.html"><span class="token function">onMessageDataCallbackQuery</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">data<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-message-data-callback-query/index.html">MessageDataCallbackQuery</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-message-data-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-message-data-callback-query/index.html">MessageDataCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CallbackQueryFilterByUser<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-message-data-callback-query/index.html">MessageDataCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByUserCallbackQueryMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-message-data-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-message-data-callback-query/index.html">MessageDataCallbackQuery</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-message-data-callback-query.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-message-data-callback-query.html">BC</a><span class="token punctuation">.</span><a href="on-message-data-callback-query.html"><span class="token function">onMessageDataCallbackQuery</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">dataRegex<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-regex/index.html">Regex</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-message-data-callback-query/index.html">MessageDataCallbackQuery</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-message-data-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-message-data-callback-query/index.html">MessageDataCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CallbackQueryFilterByUser<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-message-data-callback-query/index.html">MessageDataCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByUserCallbackQueryMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-message-data-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-message-data-callback-query/index.html">MessageDataCallbackQuery</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1601744372%2FFunctions%2F148860642" anchor-label="onMessageGameShortNameCallbackQuery" id="1601744372%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-message-game-short-name-callback-query.html"><span>on</span><wbr><span>Message</span><wbr><span>Game</span><wbr><span>Short</span><wbr><span>Name</span><wbr><span>Callback</span><wbr><span><span>Query</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1601744372%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-message-game-short-name-callback-query.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-message-game-short-name-callback-query.html">BC</a><span class="token punctuation">.</span><a href="on-message-game-short-name-callback-query.html"><span class="token function">onMessageGameShortNameCallbackQuery</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-message-game-short-name-callback-query/index.html">MessageGameShortNameCallbackQuery</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-message-game-short-name-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-message-game-short-name-callback-query/index.html">MessageGameShortNameCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CallbackQueryFilterByUser<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-message-game-short-name-callback-query/index.html">MessageGameShortNameCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByUserCallbackQueryMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-message-game-short-name-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-message-game-short-name-callback-query/index.html">MessageGameShortNameCallbackQuery</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="18053350%2FFunctions%2F148860642" anchor-label="onMyChatMemberUpdated" id="18053350%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-my-chat-member-updated.html"><span>on</span><wbr><span>My</span><wbr><span>Chat</span><wbr><span>Member</span><wbr><span><span>Updated</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="18053350%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-my-chat-member-updated.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-my-chat-member-updated.html">BC</a><span class="token punctuation">.</span><a href="on-my-chat-member-updated.html"><span class="token function">onMyChatMemberUpdated</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat.member/-chat-member-updated/index.html">ChatMemberUpdated</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-my-chat-member-updated.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat.member/-chat-member-updated/index.html">ChatMemberUpdated</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>ChatMemberUpdatedFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat.member/-chat-member-updated/index.html">ChatMemberUpdated</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatChatMemberUpdatedMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-my-chat-member-updated.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat.member/-chat-member-updated/index.html">ChatMemberUpdated</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1796852796%2FFunctions%2F148860642" anchor-label="onNewChatMembers" id="1796852796%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-new-chat-members.html"><span>on</span><wbr><span>New</span><wbr><span>Chat</span><wbr><span><span>Members</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1796852796%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-new-chat-members.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-new-chat-members.html">BC</a><span class="token punctuation">.</span><a href="on-new-chat-members.html"><span class="token function">onNewChatMembers</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-new-chat-members/index.html">NewChatMembers</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-new-chat-members.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-new-chat-members/index.html">NewChatMembers</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-new-chat-members/index.html">NewChatMembers</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-new-chat-members.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-new-chat-members/index.html">NewChatMembers</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-789383421%2FFunctions%2F148860642" anchor-label="onNewChatPhoto" id="-789383421%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-new-chat-photo.html"><span>on</span><wbr><span>New</span><wbr><span>Chat</span><wbr><span><span>Photo</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-789383421%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-new-chat-photo.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-new-chat-photo.html">BC</a><span class="token punctuation">.</span><a href="on-new-chat-photo.html"><span class="token function">onNewChatPhoto</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-new-chat-photo/index.html">NewChatPhoto</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-new-chat-photo.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-new-chat-photo/index.html">NewChatPhoto</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-new-chat-photo/index.html">NewChatPhoto</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-new-chat-photo.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-new-chat-photo/index.html">NewChatPhoto</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="164567069%2FFunctions%2F148860642" anchor-label="onNewChatTitle" id="164567069%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-new-chat-title.html"><span>on</span><wbr><span>New</span><wbr><span>Chat</span><wbr><span><span>Title</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="164567069%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-new-chat-title.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-new-chat-title.html">BC</a><span class="token punctuation">.</span><a href="on-new-chat-title.html"><span class="token function">onNewChatTitle</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-new-chat-title/index.html">NewChatTitle</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-new-chat-title.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-new-chat-title/index.html">NewChatTitle</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-new-chat-title/index.html">NewChatTitle</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-new-chat-title.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-new-chat-title/index.html">NewChatTitle</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1567695502%2FFunctions%2F148860642" anchor-label="onPassportMessage" id="1567695502%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-passport-message.html"><span>on</span><wbr><span>Passport</span><wbr><span><span>Message</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1567695502%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-passport-message.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-passport-message.html">BC</a><span class="token punctuation">.</span><a href="on-passport-message.html"><span class="token function">onPassportMessage</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message/-passport-message/index.html">PassportMessage</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-passport-message.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message/-passport-message/index.html">PassportMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message/-passport-message/index.html">PassportMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-passport-message.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message/-passport-message/index.html">PassportMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1181396433%2FFunctions%2F148860642" anchor-label="onPhoto" id="1181396433%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-photo.html"><span>on</span><wbr><span><span>Photo</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1181396433%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-photo.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-photo.html">BC</a><span class="token punctuation">.</span><a href="on-photo.html"><span class="token function">onPhoto</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-photo-content/index.html">PhotoContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-photo.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-photo-message/index.html">PhotoMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-photo-message/index.html">PhotoMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-photo.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-photo-message/index.html">PhotoMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="644114685%2FFunctions%2F148860642" anchor-label="onPhotoGallery" id="644114685%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-photo-gallery.html"><span>on</span><wbr><span>Photo</span><wbr><span><span>Gallery</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="644114685%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-photo-gallery.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-photo-gallery.html">BC</a><span class="token punctuation">.</span><a href="on-photo-gallery.html"><span class="token function">onPhotoGallery</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-photo-content/index.html">PhotoContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-photo-gallery.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-photo-content/index.html">PhotoContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-photo-content/index.html">PhotoContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-photo-gallery.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-photo-content/index.html">PhotoContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="527591003%2FFunctions%2F148860642" anchor-label="onPhotoGalleryMessages" id="527591003%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-photo-gallery-messages.html"><span>on</span><wbr><span>Photo</span><wbr><span>Gallery</span><wbr><span><span>Messages</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="527591003%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-photo-gallery-messages.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-photo-gallery-messages.html">BC</a><span class="token punctuation">.</span><a href="on-photo-gallery-messages.html"><span class="token function">onPhotoGalleryMessages</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-message/index.html">MediaGroupMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-photo-content/index.html">PhotoContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-photo-gallery-messages.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-message/index.html">MediaGroupMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-photo-content/index.html">PhotoContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-message/index.html">MediaGroupMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-photo-content/index.html">PhotoContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-photo-gallery-messages.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-message/index.html">MediaGroupMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-photo-content/index.html">PhotoContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1021092726%2FFunctions%2F148860642" anchor-label="onPinnedMessage" id="1021092726%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-pinned-message.html"><span>on</span><wbr><span>Pinned</span><wbr><span><span>Message</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1021092726%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-pinned-message.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-pinned-message.html">BC</a><span class="token punctuation">.</span><a href="on-pinned-message.html"><span class="token function">onPinnedMessage</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-pinned-message/index.html">PinnedMessage</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-pinned-message.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-pinned-message/index.html">PinnedMessage</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-pinned-message/index.html">PinnedMessage</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-pinned-message.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-pinned-message/index.html">PinnedMessage</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1350582123%2FFunctions%2F148860642" anchor-label="onPlaylist" id="1350582123%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-playlist.html"><span>on</span><wbr><span><span>Playlist</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1350582123%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-playlist.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-playlist.html">BC</a><span class="token punctuation">.</span><a href="on-playlist.html"><span class="token function">onPlaylist</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-media-group-part-content/index.html">AudioMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-playlist.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-media-group-part-content/index.html">AudioMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-media-group-part-content/index.html">AudioMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-playlist.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-media-group-part-content/index.html">AudioMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-367032831%2FFunctions%2F148860642" anchor-label="onPlaylistMessages" id="-367032831%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-playlist-messages.html"><span>on</span><wbr><span>Playlist</span><wbr><span><span>Messages</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-367032831%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-playlist-messages.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-playlist-messages.html">BC</a><span class="token punctuation">.</span><a href="on-playlist-messages.html"><span class="token function">onPlaylistMessages</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-message/index.html">MediaGroupMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-media-group-part-content/index.html">AudioMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-playlist-messages.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-message/index.html">MediaGroupMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-media-group-part-content/index.html">AudioMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-message/index.html">MediaGroupMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-media-group-part-content/index.html">AudioMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-playlist-messages.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-message/index.html">MediaGroupMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-media-group-part-content/index.html">AudioMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="2072610616%2FFunctions%2F148860642" anchor-label="onPoll" id="2072610616%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-poll.html"><span>on</span><wbr><span><span>Poll</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="2072610616%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-poll.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-poll.html">BC</a><span class="token punctuation">.</span><a href="on-poll.html"><span class="token function">onPoll</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-poll-content/index.html">PollContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-poll.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-poll-message/index.html">PollMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-poll-message/index.html">PollMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-poll.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-poll-message/index.html">PollMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1445856846%2FFunctions%2F148860642" anchor-label="onPollAnswer" id="-1445856846%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-poll-answer.html"><span>on</span><wbr><span>Poll</span><wbr><span><span>Answer</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1445856846%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-poll-answer.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-poll-answer.html">BC</a><span class="token punctuation">.</span><a href="on-poll-answer.html"><span class="token function">onPollAnswer</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.polls/-poll-answer/index.html">PollAnswer</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-poll-answer.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.polls/-poll-answer/index.html">PollAnswer</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.polls/-poll-answer/index.html">PollAnswer</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByIdPollAnswerMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-poll-answer.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.polls/-poll-answer/index.html">PollAnswer</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1975063250%2FFunctions%2F148860642" anchor-label="onPollUpdates" id="1975063250%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-poll-updates.html"><span>on</span><wbr><span>Poll</span><wbr><span><span>Updates</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1975063250%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-poll-updates.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-poll-updates.html">BC</a><span class="token punctuation">.</span><a href="on-poll-updates.html"><span class="token function">onPollUpdates</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.polls/-poll/index.html">Poll</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-poll-updates.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.polls/-poll/index.html">Poll</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.polls/-poll/index.html">Poll</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByIdPollMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-poll-updates.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.polls/-poll/index.html">Poll</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="500152670%2FFunctions%2F148860642" anchor-label="onPreCheckoutQuery" id="500152670%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-pre-checkout-query.html"><span>on</span><wbr><span>Pre</span><wbr><span>Checkout</span><wbr><span><span>Query</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="500152670%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-pre-checkout-query.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-pre-checkout-query.html">BC</a><span class="token punctuation">.</span><a href="on-pre-checkout-query.html"><span class="token function">onPreCheckoutQuery</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.payments/-pre-checkout-query/index.html">PreCheckoutQuery</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-pre-checkout-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.payments/-pre-checkout-query/index.html">PreCheckoutQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>PreCheckoutQueryFilterByUser<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.payments/-pre-checkout-query/index.html">PreCheckoutQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByUserPreCheckoutQueryMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-pre-checkout-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.payments/-pre-checkout-query/index.html">PreCheckoutQuery</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="brief "><p class="paragraph">Please, remember that you must answer to this type of queries using something like dev.inmo.tgbotapi.extensions.api.answers.payments.answerPreCheckoutQueryOk or dev.inmo.tgbotapi.extensions.api.answers.payments.answerPreCheckoutQueryError</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1789556282%2FFunctions%2F148860642" anchor-label="onPrivateEvent" id="-1789556282%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-private-event.html"><span>on</span><wbr><span>Private</span><wbr><span><span>Event</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1789556282%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-private-event.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-private-event.html">BC</a><span class="token punctuation">.</span><a href="on-private-event.html"><span class="token function">onPrivateEvent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-private-event/index.html">PrivateEvent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-private-event.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-private-event/index.html">PrivateEvent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-private-event/index.html">PrivateEvent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-private-event.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-private-event/index.html">PrivateEvent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1277031553%2FFunctions%2F148860642" anchor-label="onProximityAlertTriggered" id="-1277031553%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-proximity-alert-triggered.html"><span>on</span><wbr><span>Proximity</span><wbr><span>Alert</span><wbr><span><span>Triggered</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1277031553%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-proximity-alert-triggered.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-proximity-alert-triggered.html">BC</a><span class="token punctuation">.</span><a href="on-proximity-alert-triggered.html"><span class="token function">onProximityAlertTriggered</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-proximity-alert-triggered/index.html">ProximityAlertTriggered</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-proximity-alert-triggered.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-proximity-alert-triggered/index.html">ProximityAlertTriggered</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-proximity-alert-triggered/index.html">ProximityAlertTriggered</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-proximity-alert-triggered.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-proximity-alert-triggered/index.html">ProximityAlertTriggered</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1924733912%2FFunctions%2F148860642" anchor-label="onPublicChatEvent" id="1924733912%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-public-chat-event.html"><span>on</span><wbr><span>Public</span><wbr><span>Chat</span><wbr><span><span>Event</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1924733912%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-public-chat-event.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-public-chat-event.html">BC</a><span class="token punctuation">.</span><a href="on-public-chat-event.html"><span class="token function">onPublicChatEvent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-public-chat-event/index.html">PublicChatEvent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-public-chat-event.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-public-chat-event/index.html">PublicChatEvent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-public-chat-event/index.html">PublicChatEvent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-public-chat-event.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-public-chat-event/index.html">PublicChatEvent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="392169499%2FFunctions%2F148860642" anchor-label="onQuizPollUpdates" id="392169499%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-quiz-poll-updates.html"><span>on</span><wbr><span>Quiz</span><wbr><span>Poll</span><wbr><span><span>Updates</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="392169499%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-quiz-poll-updates.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-quiz-poll-updates.html">BC</a><span class="token punctuation">.</span><a href="on-quiz-poll-updates.html"><span class="token function">onQuizPollUpdates</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.polls/-quiz-poll/index.html">QuizPoll</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-quiz-poll-updates.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.polls/-quiz-poll/index.html">QuizPoll</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.polls/-quiz-poll/index.html">QuizPoll</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByIdPollMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-quiz-poll-updates.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.polls/-quiz-poll/index.html">QuizPoll</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1315236238%2FFunctions%2F148860642" anchor-label="onRegularPollUpdates" id="1315236238%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-regular-poll-updates.html"><span>on</span><wbr><span>Regular</span><wbr><span>Poll</span><wbr><span><span>Updates</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1315236238%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-regular-poll-updates.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-regular-poll-updates.html">BC</a><span class="token punctuation">.</span><a href="on-regular-poll-updates.html"><span class="token function">onRegularPollUpdates</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.polls/-regular-poll/index.html">RegularPoll</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-regular-poll-updates.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.polls/-regular-poll/index.html">RegularPoll</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.polls/-regular-poll/index.html">RegularPoll</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByIdPollMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-regular-poll-updates.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.polls/-regular-poll/index.html">RegularPoll</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="43138179%2FFunctions%2F148860642" anchor-label="onShippingQuery" id="43138179%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-shipping-query.html"><span>on</span><wbr><span>Shipping</span><wbr><span><span>Query</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="43138179%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-shipping-query.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-shipping-query.html">BC</a><span class="token punctuation">.</span><a href="on-shipping-query.html"><span class="token function">onShippingQuery</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.payments/-shipping-query/index.html">ShippingQuery</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-shipping-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.payments/-shipping-query/index.html">ShippingQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>ShippingQueryFilterByUser<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.payments/-shipping-query/index.html">ShippingQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByUserShippingQueryMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-shipping-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.payments/-shipping-query/index.html">ShippingQuery</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="brief "><p class="paragraph">Please, remember that you must answer to this type of queries using something like dev.inmo.tgbotapi.extensions.api.answers.payments.answerShippingQueryOk or dev.inmo.tgbotapi.extensions.api.answers.payments.answerShippingQueryError</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-68591164%2FFunctions%2F148860642" anchor-label="onStaticLocation" id="-68591164%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-static-location.html"><span>on</span><wbr><span>Static</span><wbr><span><span>Location</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-68591164%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-static-location.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-static-location.html">BC</a><span class="token punctuation">.</span><a href="on-static-location.html"><span class="token function">onStaticLocation</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-static-location-content/index.html">StaticLocationContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-static-location.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-static-location-message/index.html">StaticLocationMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-static-location-message/index.html">StaticLocationMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-static-location.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-static-location-message/index.html">StaticLocationMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-2069943194%2FFunctions%2F148860642" anchor-label="onSticker" id="-2069943194%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-sticker.html"><span>on</span><wbr><span><span>Sticker</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2069943194%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-sticker.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-sticker.html">BC</a><span class="token punctuation">.</span><a href="on-sticker.html"><span class="token function">onSticker</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-sticker-content/index.html">StickerContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-sticker.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-sticker-message/index.html">StickerMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-sticker-message/index.html">StickerMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-sticker.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-sticker-message/index.html">StickerMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1441145554%2FFunctions%2F148860642" anchor-label="onStory" id="-1441145554%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-story.html"><span>on</span><wbr><span><span>Story</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1441145554%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-story.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-story.html">BC</a><span class="token punctuation">.</span><a href="on-story.html"><span class="token function">onStory</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-story-content/index.html">StoryContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-story.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-story-message/index.html">StoryMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-story-message/index.html">StoryMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-story.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-story-message/index.html">StoryMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1970717321%2FFunctions%2F148860642" anchor-label="onSuccessfulPayment" id="-1970717321%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-successful-payment.html"><span>on</span><wbr><span>Successful</span><wbr><span><span>Payment</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1970717321%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-successful-payment.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-successful-payment.html">BC</a><span class="token punctuation">.</span><a href="on-successful-payment.html"><span class="token function">onSuccessfulPayment</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.payments/-successful-payment-event/index.html">SuccessfulPaymentEvent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-successful-payment.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.payments/-successful-payment-event/index.html">SuccessfulPaymentEvent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.payments/-successful-payment-event/index.html">SuccessfulPaymentEvent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-successful-payment.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.payments/-successful-payment-event/index.html">SuccessfulPaymentEvent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div><div class="brief "><p class="paragraph">Please, remember that <a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.payments/-successful-payment-event/index.html">SuccessfulPaymentEvent</a> will be retrieved only in case you will correctly handle <a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.payments/-pre-checkout-query/index.html">dev.inmo.tgbotapi.types.payments.PreCheckoutQuery</a> (via <a href="on-pre-checkout-query.html">onPreCheckoutQuery</a>, for example)</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1604591035%2FFunctions%2F148860642" anchor-label="onSupergroupChatCreated" id="-1604591035%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-supergroup-chat-created.html"><span>on</span><wbr><span>Supergroup</span><wbr><span>Chat</span><wbr><span><span>Created</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1604591035%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-supergroup-chat-created.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-supergroup-chat-created.html">BC</a><span class="token punctuation">.</span><a href="on-supergroup-chat-created.html"><span class="token function">onSupergroupChatCreated</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-supergroup-chat-created/index.html">SupergroupChatCreated</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-supergroup-chat-created.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-supergroup-chat-created/index.html">SupergroupChatCreated</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-supergroup-chat-created/index.html">SupergroupChatCreated</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-supergroup-chat-created.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-supergroup-chat-created/index.html">SupergroupChatCreated</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1315985191%2FFunctions%2F148860642" anchor-label="onSupergroupEvent" id="1315985191%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-supergroup-event.html"><span>on</span><wbr><span>Supergroup</span><wbr><span><span>Event</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1315985191%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-supergroup-event.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-supergroup-event.html">BC</a><span class="token punctuation">.</span><a href="on-supergroup-event.html"><span class="token function">onSupergroupEvent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-supergroup-event/index.html">SupergroupEvent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-supergroup-event.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-supergroup-event/index.html">SupergroupEvent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-supergroup-event/index.html">SupergroupEvent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-supergroup-event.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-supergroup-event/index.html">SupergroupEvent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="352604226%2FFunctions%2F148860642" anchor-label="onText" id="352604226%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-text.html"><span>on</span><wbr><span><span>Text</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="352604226%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-text.html">BC</a><span class="token punctuation">.</span><a href="on-text.html"><span class="token function">onText</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="874351716%2FFunctions%2F148860642" anchor-label="onTextedContent" id="874351716%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-texted-content.html"><span>on</span><wbr><span>Texted</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="874351716%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-texted-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-texted-content.html">BC</a><span class="token punctuation">.</span><a href="on-texted-content.html"><span class="token function">onTextedContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-texted-content/index.html">TextedContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-texted-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-texted-message/index.html">TextedMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-texted-message/index.html">TextedMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-texted-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-texted-message/index.html">TextedMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="702700604%2FFunctions%2F148860642" anchor-label="onTextedMediaContent" id="702700604%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-texted-media-content.html"><span>on</span><wbr><span>Texted</span><wbr><span>Media</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="702700604%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-texted-media-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-texted-media-content.html">BC</a><span class="token punctuation">.</span><a href="on-texted-media-content.html"><span class="token function">onTextedMediaContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-texted-media-content/index.html">TextedMediaContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-texted-media-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-texted-media-message/index.html">TextedMediaMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-texted-media-message/index.html">TextedMediaMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-texted-media-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-texted-media-message/index.html">TextedMediaMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="301061416%2FFunctions%2F148860642" anchor-label="onTextMentionWithAnimationContent" id="301061416%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-text-mention-with-animation-content.html"><span>on</span><wbr><span>Text</span><wbr><span>Mention</span><wbr><span>With</span><wbr><span>Animation</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="301061416%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-animation-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-text-mention-with-animation-content.html">BC</a><span class="token punctuation">.</span><a href="on-text-mention-with-animation-content.html"><span class="token function">onTextMentionWithAnimationContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">userId<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-user-id/index.html">UserId</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-animation-content/index.html">AnimationContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-animation-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-animation-content/index.html">AnimationContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-animation-content/index.html">AnimationContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-animation-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-animation-content/index.html">AnimationContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-156243762%2FFunctions%2F148860642" anchor-label="onTextMentionWithAnyContent" id="-156243762%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-text-mention-with-any-content.html"><span>on</span><wbr><span>Text</span><wbr><span>Mention</span><wbr><span>With</span><wbr><span>Any</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-156243762%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-any-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-text-mention-with-any-content.html">BC</a><span class="token punctuation">.</span><a href="on-text-mention-with-any-content.html"><span class="token function">onTextMentionWithAnyContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">userId<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-user-id/index.html">UserId</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-texted-content/index.html">TextedContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-any-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-texted-content/index.html">TextedContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-texted-content/index.html">TextedContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-any-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-texted-content/index.html">TextedContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="510480790%2FFunctions%2F148860642" anchor-label="onTextMentionWithAudioContent" id="510480790%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-text-mention-with-audio-content.html"><span>on</span><wbr><span>Text</span><wbr><span>Mention</span><wbr><span>With</span><wbr><span>Audio</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="510480790%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-audio-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-text-mention-with-audio-content.html">BC</a><span class="token punctuation">.</span><a href="on-text-mention-with-audio-content.html"><span class="token function">onTextMentionWithAudioContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">userId<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-user-id/index.html">UserId</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-content/index.html">AudioContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-audio-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-content/index.html">AudioContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-content/index.html">AudioContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-audio-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-audio-content/index.html">AudioContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="539680603%2FFunctions%2F148860642" anchor-label="onTextMentionWithDocumentContent" id="539680603%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-text-mention-with-document-content.html"><span>on</span><wbr><span>Text</span><wbr><span>Mention</span><wbr><span>With</span><wbr><span>Document</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="539680603%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-document-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-text-mention-with-document-content.html">BC</a><span class="token punctuation">.</span><a href="on-text-mention-with-document-content.html"><span class="token function">onTextMentionWithDocumentContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">userId<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-user-id/index.html">UserId</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-content/index.html">DocumentContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-document-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-content/index.html">DocumentContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-content/index.html">DocumentContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-document-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-document-content/index.html">DocumentContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1859728177%2FFunctions%2F148860642" anchor-label="onTextMentionWithMediaGroupContent" id="1859728177%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-text-mention-with-media-group-content.html"><span>on</span><wbr><span>Text</span><wbr><span>Mention</span><wbr><span>With</span><wbr><span>Media</span><wbr><span>Group</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1859728177%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-media-group-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-text-mention-with-media-group-content.html">BC</a><span class="token punctuation">.</span><a href="on-text-mention-with-media-group-content.html"><span class="token function">onTextMentionWithMediaGroupContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">userId<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-user-id/index.html">UserId</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-media-group-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-media-group-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-424910444%2FFunctions%2F148860642" anchor-label="onTextMentionWithMediaGroupPartContent" id="-424910444%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-text-mention-with-media-group-part-content.html"><span>on</span><wbr><span>Text</span><wbr><span>Mention</span><wbr><span>With</span><wbr><span>Media</span><wbr><span>Group</span><wbr><span>Part</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-424910444%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-media-group-part-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-text-mention-with-media-group-part-content.html">BC</a><span class="token punctuation">.</span><a href="on-text-mention-with-media-group-part-content.html"><span class="token function">onTextMentionWithMediaGroupPartContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">userId<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-user-id/index.html">UserId</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-media-group-part-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-media-group-part-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-part-content/index.html">MediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1862748858%2FFunctions%2F148860642" anchor-label="onTextMentionWithPhotoContent" id="1862748858%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-text-mention-with-photo-content.html"><span>on</span><wbr><span>Text</span><wbr><span>Mention</span><wbr><span>With</span><wbr><span>Photo</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1862748858%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-photo-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-text-mention-with-photo-content.html">BC</a><span class="token punctuation">.</span><a href="on-text-mention-with-photo-content.html"><span class="token function">onTextMentionWithPhotoContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">userId<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-user-id/index.html">UserId</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-photo-content/index.html">PhotoContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-photo-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-photo-content/index.html">PhotoContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-photo-content/index.html">PhotoContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-photo-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-photo-content/index.html">PhotoContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="677955281%2FFunctions%2F148860642" anchor-label="onTextMentionWithTextContent" id="677955281%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-text-mention-with-text-content.html"><span>on</span><wbr><span>Text</span><wbr><span>Mention</span><wbr><span>With</span><wbr><span>Text</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="677955281%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-text-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-text-mention-with-text-content.html">BC</a><span class="token punctuation">.</span><a href="on-text-mention-with-text-content.html"><span class="token function">onTextMentionWithTextContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">userId<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-user-id/index.html">UserId</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-text-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/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="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-text-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-99948143%2FFunctions%2F148860642" anchor-label="onTextMentionWithVideoContent" id="-99948143%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-text-mention-with-video-content.html"><span>on</span><wbr><span>Text</span><wbr><span>Mention</span><wbr><span>With</span><wbr><span>Video</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-99948143%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-video-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-text-mention-with-video-content.html">BC</a><span class="token punctuation">.</span><a href="on-text-mention-with-video-content.html"><span class="token function">onTextMentionWithVideoContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">userId<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-user-id/index.html">UserId</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-content/index.html">VideoContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-video-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-content/index.html">VideoContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-content/index.html">VideoContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-video-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-content/index.html">VideoContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-77611660%2FFunctions%2F148860642" anchor-label="onTextMentionWithVisualMediaGroupPartContent" id="-77611660%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-text-mention-with-visual-media-group-part-content.html"><span>on</span><wbr><span>Text</span><wbr><span>Mention</span><wbr><span>With</span><wbr><span>Visual</span><wbr><span>Media</span><wbr><span>Group</span><wbr><span>Part</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-77611660%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-visual-media-group-part-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-text-mention-with-visual-media-group-part-content.html">BC</a><span class="token punctuation">.</span><a href="on-text-mention-with-visual-media-group-part-content.html"><span class="token function">onTextMentionWithVisualMediaGroupPartContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">userId<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-user-id/index.html">UserId</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-visual-media-group-part-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-visual-media-group-part-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-569899078%2FFunctions%2F148860642" anchor-label="onTextMentionWithVoiceContent" id="-569899078%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-text-mention-with-voice-content.html"><span>on</span><wbr><span>Text</span><wbr><span>Mention</span><wbr><span>With</span><wbr><span>Voice</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-569899078%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-voice-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-text-mention-with-voice-content.html">BC</a><span class="token punctuation">.</span><a href="on-text-mention-with-voice-content.html"><span class="token function">onTextMentionWithVoiceContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">userId<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-user-id/index.html">UserId</a><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-voice-content/index.html">VoiceContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-voice-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-voice-content/index.html">VoiceContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-voice-content/index.html">VoiceContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-text-mention-with-voice-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-voice-content/index.html">VoiceContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1944855447%2FFunctions%2F148860642" anchor-label="onUnhandledCommand" id="1944855447%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-unhandled-command.html"><span>on</span><wbr><span>Unhandled</span><wbr><span><span>Command</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1944855447%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-unhandled-command.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-unhandled-command.html">BC</a><span class="token punctuation">.</span><a href="on-unhandled-command.html"><span class="token function">onUnhandledCommand</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">requireOnlyCommandInMessage<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator"> = </span><span class="token boolean">true</span><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-unhandled-command.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-unhandled-command.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="556373561%2FFunctions%2F148860642" anchor-label="onUnhandledCommandWithArgs" id="556373561%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-unhandled-command-with-args.html"><span>on</span><wbr><span>Unhandled</span><wbr><span>Command</span><wbr><span>With</span><wbr><span><span>Args</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="556373561%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-unhandled-command-with-args.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-unhandled-command-with-args.html">BC</a><span class="token punctuation">.</span><a href="on-unhandled-command-with-args.html"><span class="token function">onUnhandledCommandWithArgs</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-unhandled-command-with-args.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-unhandled-command-with-args.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="166381245%2FFunctions%2F148860642" anchor-label="onUnhandledDataCallbackQuery" id="166381245%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-unhandled-data-callback-query.html"><span>on</span><wbr><span>Unhandled</span><wbr><span>Data</span><wbr><span>Callback</span><wbr><span><span>Query</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="166381245%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-unhandled-data-callback-query.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-unhandled-data-callback-query.html">BC</a><span class="token punctuation">.</span><a href="on-unhandled-data-callback-query.html"><span class="token function">onUnhandledDataCallbackQuery</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-data-callback-query/index.html">DataCallbackQuery</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-unhandled-data-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-data-callback-query/index.html">DataCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CallbackQueryFilterByUser<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-data-callback-query/index.html">DataCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByUserCallbackQueryMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-unhandled-data-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-data-callback-query/index.html">DataCallbackQuery</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1048103760%2FFunctions%2F148860642" anchor-label="onUnhandledInlineMessageIdDataCallbackQuery" id="-1048103760%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-unhandled-inline-message-id-data-callback-query.html"><span>on</span><wbr><span>Unhandled</span><wbr><span>Inline</span><wbr><span>Message</span><wbr><span>Id</span><wbr><span>Data</span><wbr><span>Callback</span><wbr><span><span>Query</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1048103760%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-unhandled-inline-message-id-data-callback-query.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-unhandled-inline-message-id-data-callback-query.html">BC</a><span class="token punctuation">.</span><a href="on-unhandled-inline-message-id-data-callback-query.html"><span class="token function">onUnhandledInlineMessageIdDataCallbackQuery</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-inline-message-id-data-callback-query/index.html">InlineMessageIdDataCallbackQuery</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-unhandled-inline-message-id-data-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-inline-message-id-data-callback-query/index.html">InlineMessageIdDataCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CallbackQueryFilterByUser<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-inline-message-id-data-callback-query/index.html">InlineMessageIdDataCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByUserCallbackQueryMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-unhandled-inline-message-id-data-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-inline-message-id-data-callback-query/index.html">InlineMessageIdDataCallbackQuery</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1010651086%2FFunctions%2F148860642" anchor-label="onUnhandledMessageDataCallbackQuery" id="1010651086%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-unhandled-message-data-callback-query.html"><span>on</span><wbr><span>Unhandled</span><wbr><span>Message</span><wbr><span>Data</span><wbr><span>Callback</span><wbr><span><span>Query</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1010651086%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-unhandled-message-data-callback-query.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-unhandled-message-data-callback-query.html">BC</a><span class="token punctuation">.</span><a href="on-unhandled-message-data-callback-query.html"><span class="token function">onUnhandledMessageDataCallbackQuery</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-message-data-callback-query/index.html">MessageDataCallbackQuery</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-unhandled-message-data-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-message-data-callback-query/index.html">MessageDataCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CallbackQueryFilterByUser<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-message-data-callback-query/index.html">MessageDataCallbackQuery</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByUserCallbackQueryMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-unhandled-message-data-callback-query.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-message-data-callback-query/index.html">MessageDataCallbackQuery</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-688575254%2FFunctions%2F148860642" anchor-label="onUnknownCallbackQueryType" id="-688575254%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-unknown-callback-query-type.html"><span>on</span><wbr><span>Unknown</span><wbr><span>Callback</span><wbr><span>Query</span><wbr><span><span>Type</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-688575254%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-unknown-callback-query-type.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-unknown-callback-query-type.html">BC</a><span class="token punctuation">.</span><a href="on-unknown-callback-query-type.html"><span class="token function">onUnknownCallbackQueryType</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-unknown-callback-query-type/index.html">UnknownCallbackQueryType</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-unknown-callback-query-type.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-unknown-callback-query-type/index.html">UnknownCallbackQueryType</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CallbackQueryFilterByUser<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-unknown-callback-query-type/index.html">UnknownCallbackQueryType</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByUserCallbackQueryMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-unknown-callback-query-type.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.queries.callback/-unknown-callback-query-type/index.html">UnknownCallbackQueryType</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="118880459%2FFunctions%2F148860642" anchor-label="onUserLoggedIn" id="118880459%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-user-logged-in.html"><span>on</span><wbr><span>User</span><wbr><span>Logged</span><wbr><span><span>In</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="118880459%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-user-logged-in.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-user-logged-in.html">BC</a><span class="token punctuation">.</span><a href="on-user-logged-in.html"><span class="token function">onUserLoggedIn</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-user-logged-in/index.html">UserLoggedIn</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-user-logged-in.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-user-logged-in/index.html">UserLoggedIn</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-user-logged-in/index.html">UserLoggedIn</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-user-logged-in.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-user-logged-in/index.html">UserLoggedIn</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1439934311%2FFunctions%2F148860642" anchor-label="onUserShared" id="-1439934311%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-user-shared.html"><span>on</span><wbr><span>User</span><wbr><span><span>Shared</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1439934311%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-user-shared.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-user-shared.html">BC</a><span class="token punctuation">.</span><a href="on-user-shared.html"><span class="token function">onUserShared</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message/-private-event-message/index.html">PrivateEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.request/-user-shared/index.html">UserShared</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-user-shared.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message/-private-event-message/index.html">PrivateEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.request/-user-shared/index.html">UserShared</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.request/-user-shared/index.html">UserShared</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-user-shared.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message/-private-event-message/index.html">PrivateEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.request/-user-shared/index.html">UserShared</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-2084817036%2FFunctions%2F148860642" anchor-label="onVenue" id="-2084817036%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-venue.html"><span>on</span><wbr><span><span>Venue</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2084817036%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-venue.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-venue.html">BC</a><span class="token punctuation">.</span><a href="on-venue.html"><span class="token function">onVenue</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-venue-content/index.html">VenueContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-venue.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-venue-message/index.html">VenueMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-venue-message/index.html">VenueMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-venue.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-venue-message/index.html">VenueMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="787666408%2FFunctions%2F148860642" anchor-label="onVideo" id="787666408%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-video.html"><span>on</span><wbr><span><span>Video</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="787666408%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-video.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-video.html">BC</a><span class="token punctuation">.</span><a href="on-video.html"><span class="token function">onVideo</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-content/index.html">VideoContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-video.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-message/index.html">VideoMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-message/index.html">VideoMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-video.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-message/index.html">VideoMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="715402512%2FFunctions%2F148860642" anchor-label="onVideoChatEndedEvent" id="715402512%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-video-chat-ended-event.html"><span>on</span><wbr><span>Video</span><wbr><span>Chat</span><wbr><span>Ended</span><wbr><span><span>Event</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="715402512%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-video-chat-ended-event.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-video-chat-ended-event.html">BC</a><span class="token punctuation">.</span><a href="on-video-chat-ended-event.html"><span class="token function">onVideoChatEndedEvent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.voice/-video-chat-ended/index.html">VideoChatEnded</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-video-chat-ended-event.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.voice/-video-chat-ended/index.html">VideoChatEnded</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.voice/-video-chat-ended/index.html">VideoChatEnded</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-video-chat-ended-event.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.voice/-video-chat-ended/index.html">VideoChatEnded</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="421114166%2FFunctions%2F148860642" anchor-label="onVideoChatEvent" id="421114166%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-video-chat-event.html"><span>on</span><wbr><span>Video</span><wbr><span>Chat</span><wbr><span><span>Event</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="421114166%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-video-chat-event.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-video-chat-event.html">BC</a><span class="token punctuation">.</span><a href="on-video-chat-event.html"><span class="token function">onVideoChatEvent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-video-chat-event/index.html">VideoChatEvent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-video-chat-event.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-video-chat-event/index.html">VideoChatEvent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-video-chat-event/index.html">VideoChatEvent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-video-chat-event.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.abstracts/-video-chat-event/index.html">VideoChatEvent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1166125521%2FFunctions%2F148860642" anchor-label="onVideoChatParticipantsInvitedEvent" id="1166125521%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-video-chat-participants-invited-event.html"><span>on</span><wbr><span>Video</span><wbr><span>Chat</span><wbr><span>Participants</span><wbr><span>Invited</span><wbr><span><span>Event</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1166125521%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-video-chat-participants-invited-event.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-video-chat-participants-invited-event.html">BC</a><span class="token punctuation">.</span><a href="on-video-chat-participants-invited-event.html"><span class="token function">onVideoChatParticipantsInvitedEvent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.voice/-video-chat-participants-invited/index.html">VideoChatParticipantsInvited</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-video-chat-participants-invited-event.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.voice/-video-chat-participants-invited/index.html">VideoChatParticipantsInvited</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.voice/-video-chat-participants-invited/index.html">VideoChatParticipantsInvited</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-video-chat-participants-invited-event.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.voice/-video-chat-participants-invited/index.html">VideoChatParticipantsInvited</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1761578217%2FFunctions%2F148860642" anchor-label="onVideoChatStartedEvent" id="-1761578217%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-video-chat-started-event.html"><span>on</span><wbr><span>Video</span><wbr><span>Chat</span><wbr><span>Started</span><wbr><span><span>Event</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1761578217%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-video-chat-started-event.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-video-chat-started-event.html">BC</a><span class="token punctuation">.</span><a href="on-video-chat-started-event.html"><span class="token function">onVideoChatStartedEvent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.voice/-video-chat-started/index.html">VideoChatStarted</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-video-chat-started-event.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.voice/-video-chat-started/index.html">VideoChatStarted</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.voice/-video-chat-started/index.html">VideoChatStarted</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-video-chat-started-event.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.voice/-video-chat-started/index.html">VideoChatStarted</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-876619130%2FFunctions%2F148860642" anchor-label="onVideoGallery" id="-876619130%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-video-gallery.html"><span>on</span><wbr><span>Video</span><wbr><span><span>Gallery</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-876619130%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-video-gallery.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-video-gallery.html">BC</a><span class="token punctuation">.</span><a href="on-video-gallery.html"><span class="token function">onVideoGallery</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-content/index.html">VideoContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-video-gallery.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-content/index.html">VideoContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-content/index.html">VideoContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-video-gallery.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-content/index.html">VideoContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1734027648%2FFunctions%2F148860642" anchor-label="onVideoGalleryMessages" id="-1734027648%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-video-gallery-messages.html"><span>on</span><wbr><span>Video</span><wbr><span>Gallery</span><wbr><span><span>Messages</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1734027648%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-video-gallery-messages.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-video-gallery-messages.html">BC</a><span class="token punctuation">.</span><a href="on-video-gallery-messages.html"><span class="token function">onVideoGalleryMessages</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-message/index.html">MediaGroupMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-content/index.html">VideoContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-video-gallery-messages.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-message/index.html">MediaGroupMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-content/index.html">VideoContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-message/index.html">MediaGroupMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-content/index.html">VideoContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-video-gallery-messages.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-message/index.html">MediaGroupMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-content/index.html">VideoContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="2048855318%2FFunctions%2F148860642" anchor-label="onVideoNote" id="2048855318%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-video-note.html"><span>on</span><wbr><span>Video</span><wbr><span><span>Note</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="2048855318%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-video-note.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-video-note.html">BC</a><span class="token punctuation">.</span><a href="on-video-note.html"><span class="token function">onVideoNote</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-note-content/index.html">VideoNoteContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-video-note.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-note-message/index.html">VideoNoteMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-note-message/index.html">VideoNoteMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-video-note.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-video-note-message/index.html">VideoNoteMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="544052448%2FFunctions%2F148860642" anchor-label="onVisualContent" id="544052448%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-visual-content.html"><span>on</span><wbr><span>Visual</span><wbr><span><span>Content</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="544052448%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-visual-content.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-visual-content.html">BC</a><span class="token punctuation">.</span><a href="on-visual-content.html"><span class="token function">onVisualContent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-visual-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-message/index.html">VisualMediaGroupMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-message/index.html">VisualMediaGroupMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-visual-content.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-message/index.html">VisualMediaGroupMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1781495937%2FFunctions%2F148860642" anchor-label="onVisualGallery" id="-1781495937%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-visual-gallery.html"><span>on</span><wbr><span>Visual</span><wbr><span><span>Gallery</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1781495937%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-visual-gallery.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-visual-gallery.html">BC</a><span class="token punctuation">.</span><a href="on-visual-gallery.html"><span class="token function">onVisualGallery</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-visual-gallery.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-visual-gallery.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="205533797%2FFunctions%2F148860642" anchor-label="onVisualGalleryMessages" id="205533797%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-visual-gallery-messages.html"><span>on</span><wbr><span>Visual</span><wbr><span>Gallery</span><wbr><span><span>Messages</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="205533797%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-visual-gallery-messages.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-visual-gallery-messages.html">BC</a><span class="token punctuation">.</span><a href="on-visual-gallery-messages.html"><span class="token function">onVisualGalleryMessages</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-message/index.html">MediaGroupMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-visual-gallery-messages.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-message/index.html">MediaGroupMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-message/index.html">MediaGroupMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-visual-gallery-messages.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-message/index.html">MediaGroupMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1847965488%2FFunctions%2F148860642" anchor-label="onVisualMediaGroup" id="1847965488%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-visual-media-group.html"><span>on</span><wbr><span>Visual</span><wbr><span>Media</span><wbr><span><span>Group</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1847965488%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-visual-media-group.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-visual-media-group.html">BC</a><span class="token punctuation">.</span><a href="on-visual-media-group.html"><span class="token function">onVisualMediaGroup</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-visual-media-group.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>AnyMarkerFactory()<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-visual-media-group.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-content/index.html">MediaGroupContent</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1397537642%2FFunctions%2F148860642" anchor-label="onVisualMediaGroupMessages" id="-1397537642%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-visual-media-group-messages.html"><span>on</span><wbr><span>Visual</span><wbr><span>Media</span><wbr><span>Group</span><wbr><span><span>Messages</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1397537642%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-visual-media-group-messages.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-visual-media-group-messages.html">BC</a><span class="token punctuation">.</span><a href="on-visual-media-group-messages.html"><span class="token function">onVisualMediaGroupMessages</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-message/index.html">MediaGroupMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-visual-media-group-messages.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-message/index.html">MediaGroupMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-message/index.html">MediaGroupMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-visual-media-group-messages.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-media-group-message/index.html">MediaGroupMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-visual-media-group-part-content/index.html">VisualMediaGroupPartContent</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="762391249%2FFunctions%2F148860642" anchor-label="onVoice" id="762391249%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-voice.html"><span>on</span><wbr><span><span>Voice</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="762391249%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-voice.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-voice.html">BC</a><span class="token punctuation">.</span><a href="on-voice.html"><span class="token function">onVoice</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-voice-content/index.html">VoiceContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-voice.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-voice-message/index.html">VoiceMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-voice-message/index.html">VoiceMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-voice.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-voice-message/index.html">VoiceMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-550936894%2FFunctions%2F148860642" anchor-label="onWebAppData" id="-550936894%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-web-app-data.html"><span>on</span><wbr><span>Web</span><wbr><span>App</span><wbr><span><span>Data</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-550936894%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-web-app-data.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-web-app-data.html">BC</a><span class="token punctuation">.</span><a href="on-web-app-data.html"><span class="token function">onWebAppData</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message/-private-event-message/index.html">PrivateEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-web-app-data/index.html">WebAppData</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-web-app-data.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message/-private-event-message/index.html">PrivateEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-web-app-data/index.html">WebAppData</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-web-app-data/index.html">WebAppData</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-web-app-data.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message/-private-event-message/index.html">PrivateEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events/-web-app-data/index.html">WebAppData</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="2086402264%2FFunctions%2F148860642" anchor-label="onWriteAccessAllowed" id="2086402264%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-write-access-allowed.html"><span>on</span><wbr><span>Write</span><wbr><span>Access</span><wbr><span><span>Allowed</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="2086402264%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-write-access-allowed.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-write-access-allowed.html">BC</a><span class="token punctuation">.</span><a href="on-write-access-allowed.html"><span class="token function">onWriteAccessAllowed</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-write-access-allowed/index.html">WriteAccessAllowed</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-write-access-allowed.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-write-access-allowed/index.html">WriteAccessAllowed</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-write-access-allowed/index.html">WriteAccessAllowed</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-write-access-allowed.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-write-access-allowed/index.html">WriteAccessAllowed</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="624142922%2FFunctions%2F148860642" anchor-label="onWriteAccessAllowedFromAttachmentMenu" id="624142922%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-write-access-allowed-from-attachment-menu.html"><span>on</span><wbr><span>Write</span><wbr><span>Access</span><wbr><span>Allowed</span><wbr><span>From</span><wbr><span>Attachment</span><wbr><span><span>Menu</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="624142922%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-write-access-allowed-from-attachment-menu.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-write-access-allowed-from-attachment-menu.html">BC</a><span class="token punctuation">.</span><a href="on-write-access-allowed-from-attachment-menu.html"><span class="token function">onWriteAccessAllowedFromAttachmentMenu</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-write-access-allowed/-from-attachment-menu/index.html">WriteAccessAllowed.FromAttachmentMenu</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-write-access-allowed-from-attachment-menu.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-write-access-allowed/-from-attachment-menu/index.html">WriteAccessAllowed.FromAttachmentMenu</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-write-access-allowed/-from-attachment-menu/index.html">WriteAccessAllowed.FromAttachmentMenu</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-write-access-allowed-from-attachment-menu.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-write-access-allowed/-from-attachment-menu/index.html">WriteAccessAllowed.FromAttachmentMenu</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1862189763%2FFunctions%2F148860642" anchor-label="onWriteAccessAllowedFromRequest" id="1862189763%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-write-access-allowed-from-request.html"><span>on</span><wbr><span>Write</span><wbr><span>Access</span><wbr><span>Allowed</span><wbr><span>From</span><wbr><span><span>Request</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1862189763%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-write-access-allowed-from-request.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-write-access-allowed-from-request.html">BC</a><span class="token punctuation">.</span><a href="on-write-access-allowed-from-request.html"><span class="token function">onWriteAccessAllowedFromRequest</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-write-access-allowed/-from-request/index.html">WriteAccessAllowed.FromRequest</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-write-access-allowed-from-request.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-write-access-allowed/-from-request/index.html">WriteAccessAllowed.FromRequest</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-write-access-allowed/-from-request/index.html">WriteAccessAllowed.FromRequest</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-write-access-allowed-from-request.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-write-access-allowed/-from-request/index.html">WriteAccessAllowed.FromRequest</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-243371471%2FFunctions%2F148860642" anchor-label="onWriteAccessAllowedFromWebAppLink" id="-243371471%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-write-access-allowed-from-web-app-link.html"><span>on</span><wbr><span>Write</span><wbr><span>Access</span><wbr><span>Allowed</span><wbr><span>From</span><wbr><span>Web</span><wbr><span>App</span><wbr><span><span>Link</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-243371471%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-write-access-allowed-from-web-app-link.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-write-access-allowed-from-web-app-link.html">BC</a><span class="token punctuation">.</span><a href="on-write-access-allowed-from-web-app-link.html"><span class="token function">onWriteAccessAllowedFromWebAppLink</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-write-access-allowed/-from-web-app-link/index.html">WriteAccessAllowed.FromWebAppLink</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-write-access-allowed-from-web-app-link.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-write-access-allowed/-from-web-app-link/index.html">WriteAccessAllowed.FromWebAppLink</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-write-access-allowed/-from-web-app-link/index.html">WriteAccessAllowed.FromWebAppLink</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-write-access-allowed-from-web-app-link.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-write-access-allowed/-from-web-app-link/index.html">WriteAccessAllowed.FromWebAppLink</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1270658968%2FFunctions%2F148860642" anchor-label="onWriteAccessAllowedOther" id="1270658968%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="on-write-access-allowed-other.html"><span>on</span><wbr><span>Write</span><wbr><span>Access</span><wbr><span>Allowed</span><wbr><span><span>Other</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1270658968%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-write-access-allowed-other.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="on-write-access-allowed-other.html">BC</a><span class="token punctuation">.</span><a href="on-write-access-allowed-other.html"><span class="token function">onWriteAccessAllowedOther</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/-simple-filter/index.html">SimpleFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-write-access-allowed/-other/index.html">WriteAccessAllowed.Other</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-write-access-allowed-other.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-write-access-allowed/-other/index.html">WriteAccessAllowed.Other</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-write-access-allowed/-other/index.html">WriteAccessAllowed.Other</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="on-write-access-allowed-other.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.-chat-events.forum/-write-access-allowed/-other/index.html">WriteAccessAllowed.Other</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-2061547816%2FFunctions%2F148860642" anchor-label="unhandledCommand" id="-2061547816%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="unhandled-command.html"><span>unhandled</span><wbr><span><span>Command</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2061547816%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="unhandled-command.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="unhandled-command.html">BC</a><span class="token punctuation">.</span><a href="unhandled-command.html"><span class="token function">unhandledCommand</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">requireOnlyCommandInMessage<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator"> = </span><span class="token boolean">true</span><span class="token punctuation">, </span></span><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="unhandled-command.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1311499158%2FClasslikes%2F148860642">CustomBehaviourContextAndTypeReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="unhandled-command.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-2410920%2FFunctions%2F148860642" anchor-label="unhandledCommandWithArgs" id="-2410920%2FFunctions%2F148860642" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain" data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="unhandled-command-with-args.html"><span>unhandled</span><wbr><span>Command</span><wbr><span>With</span><wbr><span><span>Args</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2410920%2FFunctions%2F148860642"></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=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="unhandled-command-with-args.html">BC</a><span class="token operator"> : </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.html">BehaviourContext</a><span class="token operator">&gt; </span><a href="unhandled-command-with-args.html">BC</a><span class="token punctuation">.</span><a href="unhandled-command-with-args.html"><span class="token function">unhandledCommandWithArgs</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">initialFilter<span class="token operator">: </span><a href="index.html#-1990656072%2FClasslikes%2F148860642">CommonMessageFilter</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>CommonMessageFilterExcludeMediaGroups<span class="token punctuation">, </span></span><span class="parameter ">subcontextUpdatesFilter<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="unhandled-command-with-args.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">&gt;</span><span class="token operator">?</span><span class="token operator"> = </span>MessageFilterByChat<span class="token punctuation">, </span></span><span class="parameter ">markerFactory<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/-marker-factory/index.html">MarkerFactory</a><span class="token operator">&lt;</span><span class="token keyword">in </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token operator"> = </span>ByChatMessageMarkerFactory<span class="token punctuation">, </span></span><span class="parameter ">scenarioReceiver<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.extensions.behaviour_builder/index.html#-1990833289%2FClasslikes%2F148860642">CustomBehaviourContextAndTwoTypesReceiver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="unhandled-command-with-args.html">BC</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-message/index.html">TextMessage</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span></div></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>