1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-07 00:59:57 +00:00
This commit is contained in:
InsanusMokrassar
2021-03-16 16:44:33 +00:00
commit e113164f0d
5151 changed files with 348364 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>BehaviourContext</title>
<link href="../../../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../../";</script><script type="text/javascript" src="../../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../../styles/style.css" rel="Stylesheet"><link href="../../../styles/logo-styles.css" rel="Stylesheet"><link href="../../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../../styles/main.css" rel="Stylesheet"><script type="text/javascript" src="../../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../../scripts/main.js" async="async"></script> </head>
<body>
<div id="container">
<div id="leftColumn"><a href="../../../index.html">
<div id="logo"></div>
</a>
<div id="paneSearch"></div>
<div id="sideMenu"></div>
</div>
<div id="main">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourContext/BehaviourContext/#dev.inmo.tgbotapi.bot.RequestsExecutor#kotlinx.coroutines.CoroutineScope#dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter/PointingToDeclaration//1141957422">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../../../index.html">docs</a>/<a href="../index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="index.html">BehaviourContext</a>/<a href="-behaviour-context.html">BehaviourContext</a></div>
<div class="pull-right d-flex">
<div class="filter-section" id="filter-section"><button class="platform-tag platform-selector common-like" data-active="" data-filter=":docs:dokkaHtml/commonMain">common</button></div>
<div id="searchBar"></div>
</div>
</div>
<div class="cover ">
<h1 class="cover"><span>Behaviour</span><wbr></wbr><span>Context</span></h1>
</div>
<div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">fun <a href="-behaviour-context.html">BehaviourContext</a>(bot: <a href="../../dev.inmo.tgbotapi.bot/index.html#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">TelegramBot</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>, flowsUpdatesFilter: <a href="../../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a> = FlowsUpdatesFilter())<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<h2 class="">Parameters</h2><div data-togglable="Parameters"><div class="platform-hinted WithExtraAttributes" data-platform-hinted="data-platform-hinted" data-togglable="Parameters"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div data-togglable="Parameters"><div class="table" data-togglable="Parameters"><div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="main-subrow keyValue WithExtraAttributes"><div class=""><span class="inline-flex">scope</span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">This param will be used for creating of some subscriptions inside of methods, updates listening and different other things in context of working with <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span> and coroutines.</p></div></div></div></div></div><div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="main-subrow keyValue WithExtraAttributes"><div class=""><span class="inline-flex">flowsUpdatesFilter</span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">This parameter will be used to subscribe on different types of update</p></div></div></div></div></div></div></div></div></div></div></div>
</div>
<div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2021 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,39 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>bot</title>
<link href="../../../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../../";</script><script type="text/javascript" src="../../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../../styles/style.css" rel="Stylesheet"><link href="../../../styles/logo-styles.css" rel="Stylesheet"><link href="../../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../../styles/main.css" rel="Stylesheet"><script type="text/javascript" src="../../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../../scripts/main.js" async="async"></script> </head>
<body>
<div id="container">
<div id="leftColumn"><a href="../../../index.html">
<div id="logo"></div>
</a>
<div id="paneSearch"></div>
<div id="sideMenu"></div>
</div>
<div id="main">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourContext/bot/#/PointingToDeclaration//1141957422">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../../../index.html">docs</a>/<a href="../index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="index.html">BehaviourContext</a>/<a href="bot.html">bot</a></div>
<div class="pull-right d-flex">
<div class="filter-section" id="filter-section"><button class="platform-tag platform-selector common-like" data-active="" data-filter=":docs:dokkaHtml/commonMain">common</button></div>
<div id="searchBar"></div>
</div>
</div>
<div class="cover ">
<h1 class="cover"><span>bot</span></h1>
</div>
<div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">val <a href="bot.html">bot</a>: <a href="../../dev.inmo.tgbotapi.bot/index.html#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">TelegramBot</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
<div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2021 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,39 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>flowsUpdatesFilter</title>
<link href="../../../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../../";</script><script type="text/javascript" src="../../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../../styles/style.css" rel="Stylesheet"><link href="../../../styles/logo-styles.css" rel="Stylesheet"><link href="../../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../../styles/main.css" rel="Stylesheet"><script type="text/javascript" src="../../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../../scripts/main.js" async="async"></script> </head>
<body>
<div id="container">
<div id="leftColumn"><a href="../../../index.html">
<div id="logo"></div>
</a>
<div id="paneSearch"></div>
<div id="sideMenu"></div>
</div>
<div id="main">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourContext/flowsUpdatesFilter/#/PointingToDeclaration//1141957422">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../../../index.html">docs</a>/<a href="../index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="index.html">BehaviourContext</a>/<a href="flows-updates-filter.html">flowsUpdatesFilter</a></div>
<div class="pull-right d-flex">
<div class="filter-section" id="filter-section"><button class="platform-tag platform-selector common-like" data-active="" data-filter=":docs:dokkaHtml/commonMain">common</button></div>
<div id="searchBar"></div>
</div>
</div>
<div class="cover ">
<h1 class="cover"><span>flows</span><wbr></wbr><span>Updates</span><wbr></wbr><span>Filter</span></h1>
</div>
<div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">val <a href="flows-updates-filter.html">flowsUpdatesFilter</a>: <a href="../../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<h2 class="">Parameters</h2><div data-togglable="Parameters"><div class="platform-hinted WithExtraAttributes" data-platform-hinted="data-platform-hinted" data-togglable="Parameters"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div data-togglable="Parameters"><div class="table" data-togglable="Parameters"><div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="main-subrow keyValue WithExtraAttributes"><div class=""><span class="inline-flex">flowsUpdatesFilter</span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">This parameter will be used to subscribe on different types of update</p></div></div></div></div></div></div></div></div></div></div></div>
</div>
<div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2021 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
</div>
</div>
</body>
</html>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,39 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>scope</title>
<link href="../../../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../../";</script><script type="text/javascript" src="../../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../../styles/style.css" rel="Stylesheet"><link href="../../../styles/logo-styles.css" rel="Stylesheet"><link href="../../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../../styles/main.css" rel="Stylesheet"><script type="text/javascript" src="../../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../../scripts/main.js" async="async"></script> </head>
<body>
<div id="container">
<div id="leftColumn"><a href="../../../index.html">
<div id="logo"></div>
</a>
<div id="paneSearch"></div>
<div id="sideMenu"></div>
</div>
<div id="main">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourContext/scope/#/PointingToDeclaration//1141957422">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../../../index.html">docs</a>/<a href="../index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="index.html">BehaviourContext</a>/<a href="scope.html">scope</a></div>
<div class="pull-right d-flex">
<div class="filter-section" id="filter-section"><button class="platform-tag platform-selector common-like" data-active="" data-filter=":docs:dokkaHtml/commonMain">common</button></div>
<div id="searchBar"></div>
</div>
</div>
<div class="cover ">
<h1 class="cover"><span>scope</span></h1>
</div>
<div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">val <a href="scope.html">scope</a>: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<h2 class="">Parameters</h2><div data-togglable="Parameters"><div class="platform-hinted WithExtraAttributes" data-platform-hinted="data-platform-hinted" data-togglable="Parameters"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div data-togglable="Parameters"><div class="table" data-togglable="Parameters"><div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="main-subrow keyValue WithExtraAttributes"><div class=""><span class="inline-flex">scope</span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">This param will be used for creating of some subscriptions inside of methods, updates listening and different other things in context of working with <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span> and coroutines.</p></div></div></div></div></div></div></div></div></div></div></div>
</div>
<div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2021 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,39 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>asAction</title>
<link href="../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../";</script><script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../styles/style.css" rel="Stylesheet"><link href="../../styles/logo-styles.css" rel="Stylesheet"><link href="../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../styles/main.css" rel="Stylesheet"><script type="text/javascript" src="../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../scripts/main.js" async="async"></script> </head>
<body>
<div id="container">
<div id="leftColumn"><a href="../../index.html">
<div id="logo"></div>
</a>
<div id="paneSearch"></div>
<div id="sideMenu"></div>
</div>
<div id="main">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder//asAction/kotlinx.coroutines.Deferred[TypeParam(bounds=[kotlin.Any?])]#/PointingToDeclaration//1141957422">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../../index.html">docs</a>/<a href="index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="as-action.html">asAction</a></div>
<div class="pull-right d-flex">
<div class="filter-section" id="filter-section"><button class="platform-tag platform-selector common-like" data-active="" data-filter=":docs:dokkaHtml/commonMain">common</button></div>
<div id="searchBar"></div>
</div>
</div>
<div class="cover ">
<h1 class="cover"><span>as</span><wbr></wbr><span>Action</span></h1>
</div>
<div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">inline fun &lt;<a href="as-action.html">T</a>&gt; <span data-unresolved-link="kotlinx.coroutines/Deferred///PointingToDeclaration/">Deferred</span>&lt;<a href="as-action.html">T</a>&gt;.<a href="as-action.html">asAction</a>(): <span data-unresolved-link="dev.inmo.micro_utils.coroutines/DeferredAction///PointingToDeclaration/">DeferredAction</span>&lt;<a href="as-action.html">T</a>, <a href="as-action.html">T</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
<div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2021 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,45 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>buildBehaviour</title>
<link href="../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../";</script><script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../styles/style.css" rel="Stylesheet"><link href="../../styles/logo-styles.css" rel="Stylesheet"><link href="../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../styles/main.css" rel="Stylesheet"><script type="text/javascript" src="../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../scripts/main.js" async="async"></script> </head>
<body>
<div id="container">
<div id="leftColumn"><a href="../../index.html">
<div id="logo"></div>
</a>
<div id="paneSearch"></div>
<div id="sideMenu"></div>
</div>
<div id="main">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder//buildBehaviour/dev.inmo.tgbotapi.bot.RequestsExecutor#kotlinx.coroutines.CoroutineScope#dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter#kotlin.coroutines.SuspendFunction1[dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext,kotlin.Unit]/PointingToDeclaration//1141957422">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../../index.html">docs</a>/<a href="index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="build-behaviour.html">buildBehaviour</a></div>
<div class="pull-right d-flex">
<div class="filter-section" id="filter-section"><button class="platform-tag platform-selector common-like" data-active="" data-filter=":docs:dokkaHtml/commonMain">common</button></div>
<div id="searchBar"></div>
</div>
</div>
<div class="cover ">
<h1 class="cover"><span>build</span><wbr></wbr><span>Behaviour</span></h1>
</div>
<div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">TelegramBot</a>.<a href="build-behaviour.html">buildBehaviour</a>(scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>, flowUpdatesFilter: <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a>, block: <a href="index.html#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">BehaviourContextReceiver</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>&gt;)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<p class="paragraph">Use this method in case you wish to make some additional actions with <a href="build-behaviour.html">flowUpdatesFilter</a>.</p><p class="paragraph">WARNING This method WILL NOT launch any listening of updates. Use something like <a href="../dev.inmo.tgbotapi.extensions.utils.updates.retrieving/start-getting-of-updates-by-long-polling.html">startGettingOfUpdatesByLongPolling</a> or tools for work with webhooks</p><h2 class="">See also</h2><div data-togglable="See also"><div class="platform-hinted WithExtraAttributes" data-platform-hinted="data-platform-hinted" data-togglable="See also"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div data-togglable="See also"><div class="table" data-togglable="See also"><div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="main-subrow keyValue WithExtraAttributes RowTitle"><div class=""><span class="inline-flex"><a href="-behaviour-context/index.html">dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext</a></span><span class="inline-flex"><div data-togglable="See also"></div></span></div><div></div></div></div><div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="main-subrow keyValue WithExtraAttributes RowTitle"><div class=""><span class="inline-flex"><a href="../dev.inmo.tgbotapi.extensions.utils.updates.retrieving/start-getting-of-updates-by-long-polling.html">startGettingOfUpdatesByLongPolling</a></span><span class="inline-flex"><div data-togglable="See also"></div></span></div><div></div></div></div></div></div></div></div></div></div>
<div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">TelegramBot</a>.<a href="build-behaviour.html">buildBehaviour</a>(scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>, block: <a href="index.html#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">BehaviourContextReceiver</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>&gt;): <span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<p class="paragraph">Use this method to build bot behaviour and run it via long polling. In case you wish to get <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a> for additional manipulations, you must provide external <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a> in other <a href="build-behaviour.html">buildBehaviour</a> function.</p><h2 class="">See also</h2><div data-togglable="See also"><div class="platform-hinted WithExtraAttributes" data-platform-hinted="data-platform-hinted" data-togglable="See also"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div data-togglable="See also"><div class="table" data-togglable="See also"><div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="main-subrow keyValue WithExtraAttributes RowTitle"><div class=""><span class="inline-flex"><a href="build-behaviour.html">buildBehaviour</a></span><span class="inline-flex"><div data-togglable="See also"></div></span></div><div></div></div></div><div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="main-subrow keyValue WithExtraAttributes RowTitle"><div class=""><span class="inline-flex"><a href="-behaviour-context/index.html">dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext</a></span><span class="inline-flex"><div data-togglable="See also"></div></span></div><div></div></div></div><div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="main-subrow keyValue WithExtraAttributes RowTitle"><div class=""><span class="inline-flex"><a href="../dev.inmo.tgbotapi.extensions.utils.updates.retrieving/start-getting-of-updates-by-long-polling.html">startGettingOfUpdatesByLongPolling</a></span><span class="inline-flex"><div data-togglable="See also"></div></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"></a></span><span>© 2021 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,39 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>doInSubContextWithFlowsUpdatesFilterSetup</title>
<link href="../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../";</script><script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../styles/style.css" rel="Stylesheet"><link href="../../styles/logo-styles.css" rel="Stylesheet"><link href="../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../styles/main.css" rel="Stylesheet"><script type="text/javascript" src="../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../scripts/main.js" async="async"></script> </head>
<body>
<div id="container">
<div id="leftColumn"><a href="../../index.html">
<div id="logo"></div>
</a>
<div id="paneSearch"></div>
<div id="sideMenu"></div>
</div>
<div id="main">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder//doInSubContextWithFlowsUpdatesFilterSetup/dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext#kotlin.coroutines.SuspendFunction2[dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext,dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter,kotlin.Unit]?#kotlin.Boolean#kotlin.coroutines.SuspendFunction1[dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext,TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration//1141957422">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../../index.html">docs</a>/<a href="index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="do-in-sub-context-with-flows-updates-filter-setup.html">doInSubContextWithFlowsUpdatesFilterSetup</a></div>
<div class="pull-right d-flex">
<div class="filter-section" id="filter-section"><button class="platform-tag platform-selector common-like" data-active="" data-filter=":docs:dokkaHtml/commonMain">common</button></div>
<div id="searchBar"></div>
</div>
</div>
<div class="cover ">
<h1 class="cover"><span>do</span><wbr></wbr><span>In</span><wbr></wbr><span>Sub</span><wbr></wbr><span>Context</span><wbr></wbr><span>With</span><wbr></wbr><span>Flows</span><wbr></wbr><span>Updates</span><wbr></wbr><span>Filter</span><wbr></wbr><span>Setup</span></h1>
</div>
<div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">suspend fun &lt;<a href="do-in-sub-context-with-flows-updates-filter-setup.html">T</a>&gt; <a href="-behaviour-context/index.html">BehaviourContext</a>.<a href="do-in-sub-context-with-flows-updates-filter-setup.html">doInSubContextWithFlowsUpdatesFilterSetup</a>(newFlowsUpdatesFilterSetUp: <a href="index.html#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextAndTypeReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">BehaviourContextAndTypeReceiver</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>, <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a>&gt;?, stopOnCompletion: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = true, behaviourContextReceiver: <a href="index.html#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">BehaviourContextReceiver</a>&lt;<a href="do-in-sub-context-with-flows-updates-filter-setup.html">T</a>&gt;): <a href="do-in-sub-context-with-flows-updates-filter-setup.html">T</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<p class="paragraph">Creates new one <a href="-behaviour-context/index.html">BehaviourContext</a>, adding subsequent <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a> in case <a href="do-in-sub-context-with-flows-updates-filter-setup.html">newFlowsUpdatesFilterSetUp</a> is provided and <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span> as new <a href="-behaviour-context/scope.html">BehaviourContext.scope</a>. You must do all subscription/running of longPolling manually.</p><h2 class="">Parameters</h2><div data-togglable="Parameters"><div class="platform-hinted WithExtraAttributes" data-platform-hinted="data-platform-hinted" data-togglable="Parameters"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div data-togglable="Parameters"><div class="table" data-togglable="Parameters"><div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="main-subrow keyValue WithExtraAttributes"><div class=""><span class="inline-flex">newFlowsUpdatesFilterSetUp</span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">As a parameter receives <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a> from old <a href="-behaviour-context/flows-updates-filter.html">this</a></p></div></div></div></div></div></div></div></div></div></div></div>
</div>
<div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2021 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,39 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>doInSubContextWithUpdatesFilter</title>
<link href="../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../";</script><script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../styles/style.css" rel="Stylesheet"><link href="../../styles/logo-styles.css" rel="Stylesheet"><link href="../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../styles/main.css" rel="Stylesheet"><script type="text/javascript" src="../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../scripts/main.js" async="async"></script> </head>
<body>
<div id="container">
<div id="leftColumn"><a href="../../index.html">
<div id="logo"></div>
</a>
<div id="paneSearch"></div>
<div id="sideMenu"></div>
</div>
<div id="main">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder//doInSubContextWithUpdatesFilter/dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext#kotlin.coroutines.SuspendFunction2[dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext,dev.inmo.tgbotapi.types.update.abstracts.Update,kotlin.Boolean]?#kotlin.Boolean#kotlin.coroutines.SuspendFunction1[dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext,TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration//1141957422">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../../index.html">docs</a>/<a href="index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="do-in-sub-context-with-updates-filter.html">doInSubContextWithUpdatesFilter</a></div>
<div class="pull-right d-flex">
<div class="filter-section" id="filter-section"><button class="platform-tag platform-selector common-like" data-active="" data-filter=":docs:dokkaHtml/commonMain">common</button></div>
<div id="searchBar"></div>
</div>
</div>
<div class="cover ">
<h1 class="cover"><span>do</span><wbr></wbr><span>In</span><wbr></wbr><span>Sub</span><wbr></wbr><span>Context</span><wbr></wbr><span>With</span><wbr></wbr><span>Updates</span><wbr></wbr><span>Filter</span></h1>
</div>
<div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">suspend fun &lt;<a href="do-in-sub-context-with-updates-filter.html">T</a>&gt; <a href="-behaviour-context/index.html">BehaviourContext</a>.<a href="do-in-sub-context-with-updates-filter.html">doInSubContextWithUpdatesFilter</a>(updatesFilter: <a href="index.html#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextAndTypeReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">BehaviourContextAndTypeReceiver</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>, <a href="../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>&gt;?, stopOnCompletion: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = true, behaviourContextReceiver: <a href="index.html#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">BehaviourContextReceiver</a>&lt;<a href="do-in-sub-context-with-updates-filter.html">T</a>&gt;): <a href="do-in-sub-context-with-updates-filter.html">T</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<p class="paragraph">Creates new one <a href="-behaviour-context/index.html">BehaviourContext</a>, adding subsequent <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a> in case <a href="do-in-sub-context-with-updates-filter.html">updatesFilter</a> is provided and <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span> as new <a href="-behaviour-context/scope.html">BehaviourContext.scope</a></p></div>
</div>
<div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2021 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,39 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>doInSubContext</title>
<link href="../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../";</script><script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../styles/style.css" rel="Stylesheet"><link href="../../styles/logo-styles.css" rel="Stylesheet"><link href="../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../styles/main.css" rel="Stylesheet"><script type="text/javascript" src="../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../scripts/main.js" async="async"></script> </head>
<body>
<div id="container">
<div id="leftColumn"><a href="../../index.html">
<div id="logo"></div>
</a>
<div id="paneSearch"></div>
<div id="sideMenu"></div>
</div>
<div id="main">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder//doInSubContext/dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext#kotlin.Boolean#kotlin.coroutines.SuspendFunction1[dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext,TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration//1141957422">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../../index.html">docs</a>/<a href="index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="do-in-sub-context.html">doInSubContext</a></div>
<div class="pull-right d-flex">
<div class="filter-section" id="filter-section"><button class="platform-tag platform-selector common-like" data-active="" data-filter=":docs:dokkaHtml/commonMain">common</button></div>
<div id="searchBar"></div>
</div>
</div>
<div class="cover ">
<h1 class="cover"><span>do</span><wbr></wbr><span>In</span><wbr></wbr><span>Sub</span><wbr></wbr><span>Context</span></h1>
</div>
<div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">suspend fun &lt;<a href="do-in-sub-context.html">T</a>&gt; <a href="-behaviour-context/index.html">BehaviourContext</a>.<a href="do-in-sub-context.html">doInSubContext</a>(stopOnCompletion: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = true, behaviourContextReceiver: <a href="index.html#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">BehaviourContextReceiver</a>&lt;<a href="do-in-sub-context.html">T</a>&gt;): <a href="do-in-sub-context.html">T</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
<div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2021 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,308 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>dev.inmo.tgbotapi.extensions.behaviour_builder</title>
<link href="../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../";</script><script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../styles/style.css" rel="Stylesheet"><link href="../../styles/logo-styles.css" rel="Stylesheet"><link href="../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../styles/main.css" rel="Stylesheet"><script type="text/javascript" src="../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../scripts/main.js" async="async"></script> </head>
<body>
<div id="container">
<div id="leftColumn"><a href="../../index.html">
<div id="logo"></div>
</a>
<div id="paneSearch"></div>
<div id="sideMenu"></div>
</div>
<div id="main">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder////PointingToDeclaration//1141957422">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../../index.html">docs</a>/<a href="index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a></div>
<div class="pull-right d-flex">
<div class="filter-section" id="filter-section"><button class="platform-tag platform-selector common-like" data-active="" data-filter=":docs:dokkaHtml/commonMain">common</button></div>
<div id="searchBar"></div>
</div>
</div>
<div class="cover ">
<h1 class="cover"><span>Package dev.</span><wbr></wbr><span>inmo.</span><wbr></wbr><span>tgbotapi.</span><wbr></wbr><span>extensions.</span><wbr></wbr><span>behaviour_builder</span></h1>
</div>
<div class="tabbedcontent">
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Types">Types</button><button class="section-tab" data-togglable="Functions">Functions</button></div>
<div class="tabs-section-body">
<h2 class="">Types</h2>
<div class="table" data-togglable="Types"><a data-name="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContext%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422" anchor-label="BehaviourContext" id="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContext%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="-behaviour-context/index.html">BehaviourContext</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContext%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">data class <a href="-behaviour-context/index.html">BehaviourContext</a>(bot: <a href="../dev.inmo.tgbotapi.bot/index.html#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">TelegramBot</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>, flowsUpdatesFilter: <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a>) : <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a>, <a href="../dev.inmo.tgbotapi.bot/-requests-executor/index.html">RequestsExecutor</a>, <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContext%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422" anchor-label="BehaviourContext" id="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContext%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422" data-filterable-set=":docs:dokkaHtml/commonMain"></a><div class="brief "><a data-name="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContext%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422" anchor-label="BehaviourContext" id="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContext%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422" data-filterable-set=":docs:dokkaHtml/commonMain"></a>This class contains all necessary tools for work with bots and especially for <a href="build-behaviour.html">buildBehaviour</a></div></div>
</div>
</div>
</div>
</div>
<a data-name="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextAndTypeReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422" anchor-label="BehaviourContextAndTypeReceiver" id="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextAndTypeReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="index.html#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextAndTypeReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">BehaviourContextAndTypeReceiver</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextAndTypeReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">typealias <a href="index.html#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextAndTypeReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">BehaviourContextAndTypeReceiver</a>&lt;<a href="index.html#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextAndTypeReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">T</a>, <a href="index.html#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextAndTypeReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">I</a>&gt; = suspend <a href="-behaviour-context/index.html">BehaviourContext</a>.(<a href="index.html#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextAndTypeReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">I</a>) -&gt; <a href="index.html#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextAndTypeReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">T</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<a data-name="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422" anchor-label="BehaviourContextReceiver" id="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="index.html#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">BehaviourContextReceiver</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">typealias <a href="index.html#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">BehaviourContextReceiver</a>&lt;<a href="index.html#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">T</a>&gt; = suspend <a href="-behaviour-context/index.html">BehaviourContext</a>.() -&gt; <a href="index.html#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">T</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<h2 class="">Functions</h2>
<div class="table" data-togglable="Functions"><a data-name="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FasAction%2Fkotlinx.coroutines.Deferred%5BTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%23%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" anchor-label="asAction" id="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FasAction%2Fkotlinx.coroutines.Deferred%5BTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%23%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="as-action.html">asAction</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FasAction%2Fkotlinx.coroutines.Deferred%5BTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%23%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">inline fun &lt;<a href="as-action.html">T</a>&gt; <span data-unresolved-link="kotlinx.coroutines/Deferred///PointingToDeclaration/">Deferred</span>&lt;<a href="as-action.html">T</a>&gt;.<a href="as-action.html">asAction</a>(): <span data-unresolved-link="dev.inmo.micro_utils.coroutines/DeferredAction///PointingToDeclaration/">DeferredAction</span>&lt;<a href="as-action.html">T</a>, <a href="as-action.html">T</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<a data-name="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FbuildBehaviour%2Fdev.inmo.tgbotapi.bot.RequestsExecutor%23kotlinx.coroutines.CoroutineScope%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2Ckotlin.Unit%5D%2FPointingToDeclaration%2F%2C+dev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FbuildBehaviour%2Fdev.inmo.tgbotapi.bot.RequestsExecutor%23kotlinx.coroutines.CoroutineScope%23dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2Ckotlin.Unit%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" anchor-label="buildBehaviour" id="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FbuildBehaviour%2Fdev.inmo.tgbotapi.bot.RequestsExecutor%23kotlinx.coroutines.CoroutineScope%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2Ckotlin.Unit%5D%2FPointingToDeclaration%2F%2C+dev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FbuildBehaviour%2Fdev.inmo.tgbotapi.bot.RequestsExecutor%23kotlinx.coroutines.CoroutineScope%23dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2Ckotlin.Unit%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="build-behaviour.html">buildBehaviour</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FbuildBehaviour%2Fdev.inmo.tgbotapi.bot.RequestsExecutor%23kotlinx.coroutines.CoroutineScope%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2Ckotlin.Unit%5D%2FPointingToDeclaration%2F%2C+dev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FbuildBehaviour%2Fdev.inmo.tgbotapi.bot.RequestsExecutor%23kotlinx.coroutines.CoroutineScope%23dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2Ckotlin.Unit%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">TelegramBot</a>.<a href="build-behaviour.html">buildBehaviour</a>(scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>, block: <a href="index.html#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">BehaviourContextReceiver</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>&gt;): <span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FbuildBehaviour%2Fdev.inmo.tgbotapi.bot.RequestsExecutor%23kotlinx.coroutines.CoroutineScope%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2Ckotlin.Unit%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" anchor-label="buildBehaviour" id="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FbuildBehaviour%2Fdev.inmo.tgbotapi.bot.RequestsExecutor%23kotlinx.coroutines.CoroutineScope%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2Ckotlin.Unit%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" data-filterable-set=":docs:dokkaHtml/commonMain"></a><div class="brief "><a data-name="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FbuildBehaviour%2Fdev.inmo.tgbotapi.bot.RequestsExecutor%23kotlinx.coroutines.CoroutineScope%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2Ckotlin.Unit%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" anchor-label="buildBehaviour" id="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FbuildBehaviour%2Fdev.inmo.tgbotapi.bot.RequestsExecutor%23kotlinx.coroutines.CoroutineScope%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2Ckotlin.Unit%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" data-filterable-set=":docs:dokkaHtml/commonMain"></a>Use this method to build bot behaviour and run it via long polling.</div></div>
<div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">TelegramBot</a>.<a href="build-behaviour.html">buildBehaviour</a>(scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>, flowUpdatesFilter: <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a>, block: <a href="index.html#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">BehaviourContextReceiver</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>&gt;)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FbuildBehaviour%2Fdev.inmo.tgbotapi.bot.RequestsExecutor%23kotlinx.coroutines.CoroutineScope%23dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2Ckotlin.Unit%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" anchor-label="buildBehaviour" id="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FbuildBehaviour%2Fdev.inmo.tgbotapi.bot.RequestsExecutor%23kotlinx.coroutines.CoroutineScope%23dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2Ckotlin.Unit%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" data-filterable-set=":docs:dokkaHtml/commonMain"></a><div class="brief "><a data-name="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FbuildBehaviour%2Fdev.inmo.tgbotapi.bot.RequestsExecutor%23kotlinx.coroutines.CoroutineScope%23dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2Ckotlin.Unit%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" anchor-label="buildBehaviour" id="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FbuildBehaviour%2Fdev.inmo.tgbotapi.bot.RequestsExecutor%23kotlinx.coroutines.CoroutineScope%23dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2Ckotlin.Unit%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" data-filterable-set=":docs:dokkaHtml/commonMain"></a>Use this method in case you wish to make some additional actions with <a href="build-behaviour.html">flowUpdatesFilter</a>.</div></div>
</div>
</div>
</div>
</div>
<a data-name="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FdoInSubContext%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.Boolean%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" anchor-label="doInSubContext" id="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FdoInSubContext%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.Boolean%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="do-in-sub-context.html">doInSubContext</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FdoInSubContext%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.Boolean%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">suspend fun &lt;<a href="do-in-sub-context.html">T</a>&gt; <a href="-behaviour-context/index.html">BehaviourContext</a>.<a href="do-in-sub-context.html">doInSubContext</a>(stopOnCompletion: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = true, behaviourContextReceiver: <a href="index.html#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">BehaviourContextReceiver</a>&lt;<a href="do-in-sub-context.html">T</a>&gt;): <a href="do-in-sub-context.html">T</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<a data-name="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FdoInSubContextWithFlowsUpdatesFilterSetup%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.coroutines.SuspendFunction2%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2Cdev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter%2Ckotlin.Unit%5D%3F%23kotlin.Boolean%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" anchor-label="doInSubContextWithFlowsUpdatesFilterSetup" id="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FdoInSubContextWithFlowsUpdatesFilterSetup%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.coroutines.SuspendFunction2%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2Cdev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter%2Ckotlin.Unit%5D%3F%23kotlin.Boolean%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="do-in-sub-context-with-flows-updates-filter-setup.html">doInSubContextWithFlowsUpdatesFilterSetup</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FdoInSubContextWithFlowsUpdatesFilterSetup%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.coroutines.SuspendFunction2%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2Cdev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter%2Ckotlin.Unit%5D%3F%23kotlin.Boolean%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">suspend fun &lt;<a href="do-in-sub-context-with-flows-updates-filter-setup.html">T</a>&gt; <a href="-behaviour-context/index.html">BehaviourContext</a>.<a href="do-in-sub-context-with-flows-updates-filter-setup.html">doInSubContextWithFlowsUpdatesFilterSetup</a>(newFlowsUpdatesFilterSetUp: <a href="index.html#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextAndTypeReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">BehaviourContextAndTypeReceiver</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>, <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a>&gt;?, stopOnCompletion: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = true, behaviourContextReceiver: <a href="index.html#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">BehaviourContextReceiver</a>&lt;<a href="do-in-sub-context-with-flows-updates-filter-setup.html">T</a>&gt;): <a href="do-in-sub-context-with-flows-updates-filter-setup.html">T</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FdoInSubContextWithFlowsUpdatesFilterSetup%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.coroutines.SuspendFunction2%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2Cdev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter%2Ckotlin.Unit%5D%3F%23kotlin.Boolean%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" anchor-label="doInSubContextWithFlowsUpdatesFilterSetup" id="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FdoInSubContextWithFlowsUpdatesFilterSetup%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.coroutines.SuspendFunction2%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2Cdev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter%2Ckotlin.Unit%5D%3F%23kotlin.Boolean%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" data-filterable-set=":docs:dokkaHtml/commonMain"></a><div class="brief "><a data-name="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FdoInSubContextWithFlowsUpdatesFilterSetup%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.coroutines.SuspendFunction2%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2Cdev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter%2Ckotlin.Unit%5D%3F%23kotlin.Boolean%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" anchor-label="doInSubContextWithFlowsUpdatesFilterSetup" id="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FdoInSubContextWithFlowsUpdatesFilterSetup%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.coroutines.SuspendFunction2%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2Cdev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter%2Ckotlin.Unit%5D%3F%23kotlin.Boolean%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" data-filterable-set=":docs:dokkaHtml/commonMain"></a>Creates new one <a href="-behaviour-context/index.html">BehaviourContext</a>, adding subsequent <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a> in case <a href="do-in-sub-context-with-flows-updates-filter-setup.html">newFlowsUpdatesFilterSetUp</a> is provided and <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span> as new <a href="-behaviour-context/scope.html">BehaviourContext.scope</a>.</div></div>
</div>
</div>
</div>
</div>
<a data-name="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FdoInSubContextWithUpdatesFilter%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.coroutines.SuspendFunction2%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2Cdev.inmo.tgbotapi.types.update.abstracts.Update%2Ckotlin.Boolean%5D%3F%23kotlin.Boolean%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" anchor-label="doInSubContextWithUpdatesFilter" id="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FdoInSubContextWithUpdatesFilter%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.coroutines.SuspendFunction2%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2Cdev.inmo.tgbotapi.types.update.abstracts.Update%2Ckotlin.Boolean%5D%3F%23kotlin.Boolean%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="do-in-sub-context-with-updates-filter.html">doInSubContextWithUpdatesFilter</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FdoInSubContextWithUpdatesFilter%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.coroutines.SuspendFunction2%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2Cdev.inmo.tgbotapi.types.update.abstracts.Update%2Ckotlin.Boolean%5D%3F%23kotlin.Boolean%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">suspend fun &lt;<a href="do-in-sub-context-with-updates-filter.html">T</a>&gt; <a href="-behaviour-context/index.html">BehaviourContext</a>.<a href="do-in-sub-context-with-updates-filter.html">doInSubContextWithUpdatesFilter</a>(updatesFilter: <a href="index.html#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextAndTypeReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">BehaviourContextAndTypeReceiver</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>, <a href="../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>&gt;?, stopOnCompletion: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = true, behaviourContextReceiver: <a href="index.html#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">BehaviourContextReceiver</a>&lt;<a href="do-in-sub-context-with-updates-filter.html">T</a>&gt;): <a href="do-in-sub-context-with-updates-filter.html">T</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FdoInSubContextWithUpdatesFilter%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.coroutines.SuspendFunction2%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2Cdev.inmo.tgbotapi.types.update.abstracts.Update%2Ckotlin.Boolean%5D%3F%23kotlin.Boolean%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" anchor-label="doInSubContextWithUpdatesFilter" id="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FdoInSubContextWithUpdatesFilter%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.coroutines.SuspendFunction2%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2Cdev.inmo.tgbotapi.types.update.abstracts.Update%2Ckotlin.Boolean%5D%3F%23kotlin.Boolean%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" data-filterable-set=":docs:dokkaHtml/commonMain"></a><div class="brief "><a data-name="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FdoInSubContextWithUpdatesFilter%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.coroutines.SuspendFunction2%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2Cdev.inmo.tgbotapi.types.update.abstracts.Update%2Ckotlin.Boolean%5D%3F%23kotlin.Boolean%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" anchor-label="doInSubContextWithUpdatesFilter" id="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FdoInSubContextWithUpdatesFilter%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.coroutines.SuspendFunction2%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2Cdev.inmo.tgbotapi.types.update.abstracts.Update%2Ckotlin.Boolean%5D%3F%23kotlin.Boolean%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" data-filterable-set=":docs:dokkaHtml/commonMain"></a>Creates new one <a href="-behaviour-context/index.html">BehaviourContext</a>, adding subsequent <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a> in case <a href="do-in-sub-context-with-updates-filter.html">updatesFilter</a> is provided and <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span> as new <a href="-behaviour-context/scope.html">BehaviourContext.scope</a></div></div>
</div>
</div>
</div>
</div>
<a data-name="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FoneOf%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.Array%5Bkotlinx.coroutines.Deferred%5BTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%5D%2FPointingToDeclaration%2F%2C+dev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FoneOf%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.collections.Iterable%5Bkotlinx.coroutines.Deferred%5BTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" anchor-label="oneOf" id="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FoneOf%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.Array%5Bkotlinx.coroutines.Deferred%5BTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%5D%2FPointingToDeclaration%2F%2C+dev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FoneOf%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.collections.Iterable%5Bkotlinx.coroutines.Deferred%5BTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="one-of.html">oneOf</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FoneOf%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.Array%5Bkotlinx.coroutines.Deferred%5BTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%5D%2FPointingToDeclaration%2F%2C+dev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FoneOf%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.collections.Iterable%5Bkotlinx.coroutines.Deferred%5BTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">suspend fun &lt;<a href="one-of.html">O</a>&gt; <a href="-behaviour-context/index.html">BehaviourContext</a>.<a href="one-of.html">oneOf</a>(vararg deferredActions: <span data-unresolved-link="kotlinx.coroutines/Deferred///PointingToDeclaration/">Deferred</span>&lt;<a href="one-of.html">O</a>&gt;): <a href="one-of.html">O</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="symbol monospace">suspend fun &lt;<a href="one-of.html">O</a>&gt; <a href="-behaviour-context/index.html">BehaviourContext</a>.<a href="one-of.html">oneOf</a>(deferredActions: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-iterable/index.html">Iterable</a>&lt;<span data-unresolved-link="kotlinx.coroutines/Deferred///PointingToDeclaration/">Deferred</span>&lt;<a href="one-of.html">O</a>&gt;&gt;): <a href="one-of.html">O</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<a data-name="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FoneOfActions%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.Array%5Bdev.inmo.micro_utils.coroutines.DeferredAction%5B*%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%5D%2FPointingToDeclaration%2F%2C+dev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FoneOfActions%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.collections.Iterable%5Bdev.inmo.micro_utils.coroutines.DeferredAction%5B*%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" anchor-label="oneOfActions" id="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FoneOfActions%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.Array%5Bdev.inmo.micro_utils.coroutines.DeferredAction%5B*%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%5D%2FPointingToDeclaration%2F%2C+dev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FoneOfActions%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.collections.Iterable%5Bdev.inmo.micro_utils.coroutines.DeferredAction%5B*%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="one-of-actions.html">oneOfActions</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FoneOfActions%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.Array%5Bdev.inmo.micro_utils.coroutines.DeferredAction%5B*%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%5D%2FPointingToDeclaration%2F%2C+dev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FoneOfActions%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.collections.Iterable%5Bdev.inmo.micro_utils.coroutines.DeferredAction%5B*%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">suspend fun &lt;<a href="one-of-actions.html">O</a>&gt; <a href="-behaviour-context/index.html">BehaviourContext</a>.<a href="one-of-actions.html">oneOfActions</a>(vararg deferredActions: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/DeferredAction///PointingToDeclaration/">DeferredAction</span>&lt;*, <a href="one-of-actions.html">O</a>&gt;): <a href="one-of-actions.html">O</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="symbol monospace">suspend fun &lt;<a href="one-of-actions.html">O</a>&gt; <a href="-behaviour-context/index.html">BehaviourContext</a>.<a href="one-of-actions.html">oneOfActions</a>(deferredActions: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-iterable/index.html">Iterable</a>&lt;<span data-unresolved-link="dev.inmo.micro_utils.coroutines/DeferredAction///PointingToDeclaration/">DeferredAction</span>&lt;*, <a href="one-of-actions.html">O</a>&gt;&gt;): <a href="one-of-actions.html">O</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<a data-name="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2Fparallel%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" anchor-label="parallel" id="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2Fparallel%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="parallel.html">parallel</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2Fparallel%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23kotlin.coroutines.SuspendFunction1%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">suspend fun &lt;<a href="parallel.html">T</a>&gt; <a href="-behaviour-context/index.html">BehaviourContext</a>.<a href="parallel.html">parallel</a>(action: <a href="index.html#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">BehaviourContextReceiver</a>&lt;<a href="parallel.html">T</a>&gt;): <span data-unresolved-link="kotlinx.coroutines/Deferred///PointingToDeclaration/">Deferred</span>&lt;<a href="parallel.html">T</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<a data-name="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2Fstop%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" anchor-label="stop" id="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2Fstop%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="stop.html">stop</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2Fstop%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">fun <a href="-behaviour-context/index.html">BehaviourContext</a>.<a href="stop.html">stop</a>()<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2Fstop%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" anchor-label="stop" id="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2Fstop%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" data-filterable-set=":docs:dokkaHtml/commonMain"></a><div class="brief "><a data-name="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2Fstop%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" anchor-label="stop" id="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2Fstop%2Fdev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext%23%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" data-filterable-set=":docs:dokkaHtml/commonMain"></a>This method will cancel ALL subsequent contexts, expectations and waiters</div></div>
</div>
</div>
</div>
</div>
<a data-name="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FwithAction%2Fkotlinx.coroutines.Deferred%5BTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%23kotlin.coroutines.SuspendFunction1%5BTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" anchor-label="withAction" id="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FwithAction%2Fkotlinx.coroutines.Deferred%5BTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%23kotlin.coroutines.SuspendFunction1%5BTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="with-action.html">withAction</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2F%2FwithAction%2Fkotlinx.coroutines.Deferred%5BTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%23kotlin.coroutines.SuspendFunction1%5BTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%2CTypeParam%28bounds%3D%5Bkotlin.Any%3F%5D%29%5D%2FPointingToDeclaration%2F%5D%2FFunctions%2F1141957422"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">infix inline fun &lt;<a href="with-action.html">T</a>, <a href="with-action.html">O</a>&gt; <span data-unresolved-link="kotlinx.coroutines/Deferred///PointingToDeclaration/">Deferred</span>&lt;<a href="with-action.html">T</a>&gt;.<a href="with-action.html">withAction</a>(noinline callback: suspend (<a href="with-action.html">T</a>) -&gt; <a href="with-action.html">O</a>): <span data-unresolved-link="dev.inmo.micro_utils.coroutines/DeferredAction///PointingToDeclaration/">DeferredAction</span>&lt;<a href="with-action.html">T</a>, <a href="with-action.html">O</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2021 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,39 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>oneOfActions</title>
<link href="../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../";</script><script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../styles/style.css" rel="Stylesheet"><link href="../../styles/logo-styles.css" rel="Stylesheet"><link href="../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../styles/main.css" rel="Stylesheet"><script type="text/javascript" src="../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../scripts/main.js" async="async"></script> </head>
<body>
<div id="container">
<div id="leftColumn"><a href="../../index.html">
<div id="logo"></div>
</a>
<div id="paneSearch"></div>
<div id="sideMenu"></div>
</div>
<div id="main">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder//oneOfActions/dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext#kotlin.collections.Iterable[dev.inmo.micro_utils.coroutines.DeferredAction[*,TypeParam(bounds=[kotlin.Any?])]]/PointingToDeclaration//1141957422">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../../index.html">docs</a>/<a href="index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="one-of-actions.html">oneOfActions</a></div>
<div class="pull-right d-flex">
<div class="filter-section" id="filter-section"><button class="platform-tag platform-selector common-like" data-active="" data-filter=":docs:dokkaHtml/commonMain">common</button></div>
<div id="searchBar"></div>
</div>
</div>
<div class="cover ">
<h1 class="cover"><span>one</span><wbr></wbr><span>Of</span><wbr></wbr><span>Actions</span></h1>
</div>
<div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">suspend fun &lt;<a href="one-of-actions.html">O</a>&gt; <a href="-behaviour-context/index.html">BehaviourContext</a>.<a href="one-of-actions.html">oneOfActions</a>(deferredActions: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-iterable/index.html">Iterable</a>&lt;<span data-unresolved-link="dev.inmo.micro_utils.coroutines/DeferredAction///PointingToDeclaration/">DeferredAction</span>&lt;*, <a href="one-of-actions.html">O</a>&gt;&gt;): <a href="one-of-actions.html">O</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="symbol monospace">suspend fun &lt;<a href="one-of-actions.html">O</a>&gt; <a href="-behaviour-context/index.html">BehaviourContext</a>.<a href="one-of-actions.html">oneOfActions</a>(vararg deferredActions: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/DeferredAction///PointingToDeclaration/">DeferredAction</span>&lt;*, <a href="one-of-actions.html">O</a>&gt;): <a href="one-of-actions.html">O</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
<div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2021 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,39 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>oneOf</title>
<link href="../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../";</script><script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../styles/style.css" rel="Stylesheet"><link href="../../styles/logo-styles.css" rel="Stylesheet"><link href="../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../styles/main.css" rel="Stylesheet"><script type="text/javascript" src="../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../scripts/main.js" async="async"></script> </head>
<body>
<div id="container">
<div id="leftColumn"><a href="../../index.html">
<div id="logo"></div>
</a>
<div id="paneSearch"></div>
<div id="sideMenu"></div>
</div>
<div id="main">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder//oneOf/dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext#kotlin.collections.Iterable[kotlinx.coroutines.Deferred[TypeParam(bounds=[kotlin.Any?])]]/PointingToDeclaration//1141957422">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../../index.html">docs</a>/<a href="index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="one-of.html">oneOf</a></div>
<div class="pull-right d-flex">
<div class="filter-section" id="filter-section"><button class="platform-tag platform-selector common-like" data-active="" data-filter=":docs:dokkaHtml/commonMain">common</button></div>
<div id="searchBar"></div>
</div>
</div>
<div class="cover ">
<h1 class="cover"><span>one</span><wbr></wbr><span>Of</span></h1>
</div>
<div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">suspend fun &lt;<a href="one-of.html">O</a>&gt; <a href="-behaviour-context/index.html">BehaviourContext</a>.<a href="one-of.html">oneOf</a>(deferredActions: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-iterable/index.html">Iterable</a>&lt;<span data-unresolved-link="kotlinx.coroutines/Deferred///PointingToDeclaration/">Deferred</span>&lt;<a href="one-of.html">O</a>&gt;&gt;): <a href="one-of.html">O</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="symbol monospace">suspend fun &lt;<a href="one-of.html">O</a>&gt; <a href="-behaviour-context/index.html">BehaviourContext</a>.<a href="one-of.html">oneOf</a>(vararg deferredActions: <span data-unresolved-link="kotlinx.coroutines/Deferred///PointingToDeclaration/">Deferred</span>&lt;<a href="one-of.html">O</a>&gt;): <a href="one-of.html">O</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
<div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2021 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,39 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>parallel</title>
<link href="../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../";</script><script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../styles/style.css" rel="Stylesheet"><link href="../../styles/logo-styles.css" rel="Stylesheet"><link href="../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../styles/main.css" rel="Stylesheet"><script type="text/javascript" src="../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../scripts/main.js" async="async"></script> </head>
<body>
<div id="container">
<div id="leftColumn"><a href="../../index.html">
<div id="logo"></div>
</a>
<div id="paneSearch"></div>
<div id="sideMenu"></div>
</div>
<div id="main">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder//parallel/dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext#kotlin.coroutines.SuspendFunction1[dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext,TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration//1141957422">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../../index.html">docs</a>/<a href="index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="parallel.html">parallel</a></div>
<div class="pull-right d-flex">
<div class="filter-section" id="filter-section"><button class="platform-tag platform-selector common-like" data-active="" data-filter=":docs:dokkaHtml/commonMain">common</button></div>
<div id="searchBar"></div>
</div>
</div>
<div class="cover ">
<h1 class="cover"><span>parallel</span></h1>
</div>
<div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">suspend fun &lt;<a href="parallel.html">T</a>&gt; <a href="-behaviour-context/index.html">BehaviourContext</a>.<a href="parallel.html">parallel</a>(action: <a href="index.html#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F1141957422">BehaviourContextReceiver</a>&lt;<a href="parallel.html">T</a>&gt;): <span data-unresolved-link="kotlinx.coroutines/Deferred///PointingToDeclaration/">Deferred</span>&lt;<a href="parallel.html">T</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
<div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2021 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,39 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>stop</title>
<link href="../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../";</script><script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../styles/style.css" rel="Stylesheet"><link href="../../styles/logo-styles.css" rel="Stylesheet"><link href="../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../styles/main.css" rel="Stylesheet"><script type="text/javascript" src="../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../scripts/main.js" async="async"></script> </head>
<body>
<div id="container">
<div id="leftColumn"><a href="../../index.html">
<div id="logo"></div>
</a>
<div id="paneSearch"></div>
<div id="sideMenu"></div>
</div>
<div id="main">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder//stop/dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext#/PointingToDeclaration//1141957422">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../../index.html">docs</a>/<a href="index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="stop.html">stop</a></div>
<div class="pull-right d-flex">
<div class="filter-section" id="filter-section"><button class="platform-tag platform-selector common-like" data-active="" data-filter=":docs:dokkaHtml/commonMain">common</button></div>
<div id="searchBar"></div>
</div>
</div>
<div class="cover ">
<h1 class="cover"><span>stop</span></h1>
</div>
<div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">fun <a href="-behaviour-context/index.html">BehaviourContext</a>.<a href="stop.html">stop</a>()<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<p class="paragraph">This method will cancel ALL subsequent contexts, expectations and waiters</p></div>
</div>
<div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2021 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,39 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>withAction</title>
<link href="../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../";</script><script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../styles/style.css" rel="Stylesheet"><link href="../../styles/logo-styles.css" rel="Stylesheet"><link href="../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../styles/main.css" rel="Stylesheet"><script type="text/javascript" src="../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../scripts/main.js" async="async"></script> </head>
<body>
<div id="container">
<div id="leftColumn"><a href="../../index.html">
<div id="logo"></div>
</a>
<div id="paneSearch"></div>
<div id="sideMenu"></div>
</div>
<div id="main">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder//withAction/kotlinx.coroutines.Deferred[TypeParam(bounds=[kotlin.Any?])]#kotlin.coroutines.SuspendFunction1[TypeParam(bounds=[kotlin.Any?]),TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration//1141957422">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../../index.html">docs</a>/<a href="index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="with-action.html">withAction</a></div>
<div class="pull-right d-flex">
<div class="filter-section" id="filter-section"><button class="platform-tag platform-selector common-like" data-active="" data-filter=":docs:dokkaHtml/commonMain">common</button></div>
<div id="searchBar"></div>
</div>
</div>
<div class="cover ">
<h1 class="cover"><span>with</span><wbr></wbr><span>Action</span></h1>
</div>
<div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">infix inline fun &lt;<a href="with-action.html">T</a>, <a href="with-action.html">O</a>&gt; <span data-unresolved-link="kotlinx.coroutines/Deferred///PointingToDeclaration/">Deferred</span>&lt;<a href="with-action.html">T</a>&gt;.<a href="with-action.html">withAction</a>(noinline callback: suspend (<a href="with-action.html">T</a>) -&gt; <a href="with-action.html">O</a>): <span data-unresolved-link="dev.inmo.micro_utils.coroutines/DeferredAction///PointingToDeclaration/">DeferredAction</span>&lt;<a href="with-action.html">T</a>, <a href="with-action.html">O</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
<div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2021 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
</div>
</div>
</body>
</html>