mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-09-08 17:49:35 +00:00
deploy: 8ea50f36aa
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
</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/BehaviourContextWithFSMBuilder/addStrict/#kotlin.reflect.KClass[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]#dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourWithFSMStateHandler[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]/PointingToDeclaration//-1982836883">
|
||||
<script type="text/javascript" src="../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourContextWithFSMBuilder/addStrict/#kotlin.reflect.KClass[TypeParam(bounds=[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])])]#dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourWithFSMStateHandler[TypeParam(bounds=[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]),TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]/PointingToDeclaration//-1982836883">
|
||||
<div class="navigation-wrapper" id="navigation-wrapper">
|
||||
<div class="breadcrumbs"><a href="../../../index.html">docs</a>/<a href="../index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="index.html">BehaviourContextWithFSMBuilder</a>/<a href="add-strict.html">addStrict</a></div>
|
||||
<div class="pull-right d-flex">
|
||||
@@ -27,7 +27,7 @@
|
||||
<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="add-strict.html">I</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="add-strict.html">addStrict</a>(kClass: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a><<a href="add-strict.html">I</a>>, handler: <a href="../-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><<a href="add-strict.html">I</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 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="add-strict.html">I</a> : <a href="index.html">T</a>> <a href="add-strict.html">addStrict</a>(kClass: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a><<a href="add-strict.html">I</a>>, handler: <a href="../-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><<a href="add-strict.html">I</a>, <a href="index.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">Add STRICT <a href="add-strict.html">handler</a> to list of available in future <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a>. Strict means that for input <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span> will be used <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>::class == <a href="add-strict.html">kClass</a> and any <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span> with exactly the same type will pass requirements</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-with-f-s-m-state-handler-holder/index.html"><span>dev.</span><wbr></wbr><span>inmo.</span><wbr></wbr><span>tgbotapi.</span><wbr></wbr><span>extensions.</span><wbr></wbr><span>behaviour_builder.</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span>With</span><wbr></wbr><span>FSMState</span><wbr></wbr><span>Handler</span><wbr></wbr><span><span>Holder</span></span></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="strictly-on.html"><span>dev.</span><wbr></wbr><span>inmo.</span><wbr></wbr><span>tgbotapi.</span><wbr></wbr><span>extensions.</span><wbr></wbr><span>behaviour_builder.</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span>Context</span><wbr></wbr><span>With</span><wbr></wbr><span><span>FSMBuilder</span></span></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>
|
||||
|
@@ -13,7 +13,7 @@
|
||||
</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/BehaviourContextWithFSMBuilder/add/#kotlin.reflect.KClass[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]#dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourWithFSMStateHandler[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]/PointingToDeclaration//-1982836883">
|
||||
<script type="text/javascript" src="../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourContextWithFSMBuilder/add/#kotlin.reflect.KClass[TypeParam(bounds=[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])])]#dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourWithFSMStateHandler[TypeParam(bounds=[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]),TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]/PointingToDeclaration//-1982836883">
|
||||
<div class="navigation-wrapper" id="navigation-wrapper">
|
||||
<div class="breadcrumbs"><a href="../../../index.html">docs</a>/<a href="../index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="index.html">BehaviourContextWithFSMBuilder</a>/<a href="add.html">add</a></div>
|
||||
<div class="pull-right d-flex">
|
||||
@@ -27,7 +27,7 @@
|
||||
<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="add.html">I</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="add.html">add</a>(kClass: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a><<a href="add.html">I</a>>, handler: <a href="../-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><<a href="add.html">I</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 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="add.html">I</a> : <a href="index.html">T</a>> <a href="add.html">add</a>(kClass: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a><<a href="add.html">I</a>>, handler: <a href="../-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><<a href="add.html">I</a>, <a href="index.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">Add NON STRICT <a href="add.html">handler</a> to list of available in future <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a>. Non strict means that for input <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span> will be used <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/is-instance.html">KClass.isInstance</a> and any inheritor of <a href="add.html">kClass</a> will pass this requirement</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-with-f-s-m-state-handler-holder/index.html"><span>dev.</span><wbr></wbr><span>inmo.</span><wbr></wbr><span>tgbotapi.</span><wbr></wbr><span>extensions.</span><wbr></wbr><span>behaviour_builder.</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span>With</span><wbr></wbr><span>FSMState</span><wbr></wbr><span>Handler</span><wbr></wbr><span><span>Holder</span></span></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="on-state-or-substate.html"><span>dev.</span><wbr></wbr><span>inmo.</span><wbr></wbr><span>tgbotapi.</span><wbr></wbr><span>extensions.</span><wbr></wbr><span>behaviour_builder.</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span>Context</span><wbr></wbr><span>With</span><wbr></wbr><span><span>FSMBuilder</span></span></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>
|
||||
|
@@ -23,16 +23,16 @@
|
||||
</div>
|
||||
<div class="cover ">
|
||||
<h1 class="cover"><span>Behaviour</span><wbr></wbr><span>Context</span><wbr></wbr><span>With</span><wbr></wbr><span><span>FSMBuilder</span></span></h1>
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">class <a href="index.html">BehaviourContextWithFSMBuilder</a> : <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</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 class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">class <a href="index.html">BehaviourContextWithFSMBuilder</a><<a href="index.html">T</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> : <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a><<a href="index.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 class="tabbedcontent">
|
||||
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Functions">Functions</button><button class="section-tab" data-togglable="Properties">Properties</button></div>
|
||||
<div class="tabs-section-body">
|
||||
<h2 class="">Functions</h2>
|
||||
<div class="table" data-togglable="Functions"><a data-name="-1452464355%2FFunctions%2F-1982836883" anchor-label="add" id="-1452464355%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table" data-togglable="Functions"><a data-name="-305780297%2FFunctions%2F-1982836883" anchor-label="add" id="-305780297%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
<div class=""><span class="inline-flex"><a href="add.html"><span><span>add</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1452464355%2FFunctions%2F-1982836883"></span>
|
||||
<div class=""><span class="inline-flex"><a href="add.html"><span><span>add</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-305780297%2FFunctions%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
@@ -42,17 +42,17 @@
|
||||
<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="add.html">I</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="add.html">add</a>(kClass: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a><<a href="add.html">I</a>>, handler: <a href="../-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><<a href="add.html">I</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 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="add.html">I</a> : <a href="index.html">T</a>> <a href="add.html">add</a>(kClass: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a><<a href="add.html">I</a>>, handler: <a href="../-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><<a href="add.html">I</a>, <a href="index.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 class="brief "><p class="paragraph">Add NON STRICT <a href="add.html">handler</a> to list of available in future <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a>. Non strict means that for input <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span> will be used <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/is-instance.html">KClass.isInstance</a> and any inheritor of <a href="add.html">kClass</a> will pass this requirement</p></div></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a data-name="-2128215098%2FFunctions%2F-1982836883" anchor-label="addStrict" id="-2128215098%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<a data-name="1750520864%2FFunctions%2F-1982836883" anchor-label="addStrict" id="1750520864%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
<div class=""><span class="inline-flex"><a href="add-strict.html"><span>add</span><wbr></wbr><span><span>Strict</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2128215098%2FFunctions%2F-1982836883"></span>
|
||||
<div class=""><span class="inline-flex"><a href="add-strict.html"><span>add</span><wbr></wbr><span><span>Strict</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1750520864%2FFunctions%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
@@ -62,7 +62,7 @@
|
||||
<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="add-strict.html">I</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="add-strict.html">addStrict</a>(kClass: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a><<a href="add-strict.html">I</a>>, handler: <a href="../-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><<a href="add-strict.html">I</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 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="add-strict.html">I</a> : <a href="index.html">T</a>> <a href="add-strict.html">addStrict</a>(kClass: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a><<a href="add-strict.html">I</a>>, handler: <a href="../-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><<a href="add-strict.html">I</a>, <a href="index.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 class="brief "><p class="paragraph">Add STRICT <a href="add-strict.html">handler</a> to list of available in future <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a>. Strict means that for input <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span> will be used <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>::class == <a href="add-strict.html">kClass</a> and any <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span> with exactly the same type will pass requirements</p></div></div>
|
||||
</div>
|
||||
@@ -102,7 +102,7 @@
|
||||
<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">open override fun <a href="../-behaviour-context-with-f-s-m/copy.html">copy</a>(bot: <a href="../../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>, broadcastChannelsSize: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>, onBufferOverflow: <span data-unresolved-link="kotlinx.coroutines.channels/BufferOverflow///PointingToDeclaration/">BufferOverflow</span>, upstreamUpdatesFlow: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>>?, updatesFilter: <a href="../index.html#-1477624743%2FClasslikes%2F-1982836883">BehaviourContextAndTypeReceiver</a><<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>>?): <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</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 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">open override fun <a href="../-behaviour-context-with-f-s-m/copy.html">copy</a>(bot: <a href="../../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>, broadcastChannelsSize: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>, onBufferOverflow: <span data-unresolved-link="kotlinx.coroutines.channels/BufferOverflow///PointingToDeclaration/">BufferOverflow</span>, upstreamUpdatesFlow: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>>?, updatesFilter: <a href="../index.html#-1477624743%2FClasslikes%2F-1982836883">BehaviourContextAndTypeReceiver</a><<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>>?): <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a><<a href="index.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>
|
||||
@@ -129,10 +129,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a data-name="1663827417%2FFunctions%2F-1982836883" anchor-label="handleState" id="1663827417%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<a data-name="1210167093%2FFunctions%2F-1982836883" anchor-label="handleState" id="1210167093%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
<div class=""><span class="inline-flex"><a href="index.html#1663827417%2FFunctions%2F-1982836883"><span>handle</span><wbr></wbr><span><span>State</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1663827417%2FFunctions%2F-1982836883"></span>
|
||||
<div class=""><span class="inline-flex"><a href="index.html#1210167093%2FFunctions%2F-1982836883"><span>handle</span><wbr></wbr><span><span>State</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1210167093%2FFunctions%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
@@ -142,17 +142,17 @@
|
||||
<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">open suspend override fun <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesMachine///PointingToDeclaration/">StatesMachine</span>.<a href="index.html#1663827417%2FFunctions%2F-1982836883">handleState</a>(state: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>): <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</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 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">open suspend override fun <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesMachine///PointingToDeclaration/">StatesMachine</span><in <a href="index.html">T</a>>.<a href="index.html#1210167093%2FFunctions%2F-1982836883">handleState</a>(state: <a href="index.html">T</a>): <a href="index.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="-243513482%2FFunctions%2F-1982836883" anchor-label="onStateOrSubstate" id="-243513482%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<a data-name="-1355105410%2FFunctions%2F-1982836883" anchor-label="launchStateHandling" id="-1355105410%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
<div class=""><span class="inline-flex"><a href="on-state-or-substate.html"><span>on</span><wbr></wbr><span>State</span><wbr></wbr><span>Or</span><wbr></wbr><span><span>Substate</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-243513482%2FFunctions%2F-1982836883"></span>
|
||||
<div class=""><span class="inline-flex"><a href="index.html#-1320157902%2FFunctions%2F-1982836883"><span>launch</span><wbr></wbr><span>State</span><wbr></wbr><span><span>Handling</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1355105410%2FFunctions%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
@@ -162,7 +162,27 @@
|
||||
<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 <<a href="on-state-or-substate.html">I</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="on-state-or-substate.html">onStateOrSubstate</a>(handler: <a href="../-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><<a href="on-state-or-substate.html">I</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 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">open suspend override fun <a href="index.html#-1320157902%2FFunctions%2F-1982836883">launchStateHandling</a>(state: <a href="index.html">T</a>, handlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<span data-unresolved-link="dev.inmo.micro_utils.fsm.common/CustomizableHandlerHolder///PointingToDeclaration/">CustomizableHandlerHolder</span><in <a href="index.html">T</a>, <a href="index.html">T</a>>>): <a href="index.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 class="symbol monospace">open suspend override fun <a href="../-behaviour-context-with-f-s-m/launch-state-handling.html">launchStateHandling</a>(state: <a href="index.html">T</a>, contextUpdatesFlow: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>>, handlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="../-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*, <a href="index.html">T</a>>>): <a href="index.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="2038346964%2FFunctions%2F-1982836883" anchor-label="onStateOrSubstate" id="2038346964%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
<div class=""><span class="inline-flex"><a href="on-state-or-substate.html"><span>on</span><wbr></wbr><span>State</span><wbr></wbr><span>Or</span><wbr></wbr><span><span>Substate</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="2038346964%2FFunctions%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
<div class="platform-tags ">
|
||||
<div class="platform-tag common-like">common</div>
|
||||
</div>
|
||||
<div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
|
||||
|
||||
<div>
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">inline fun <<a href="on-state-or-substate.html">I</a> : <a href="index.html">T</a>> <a href="on-state-or-substate.html">onStateOrSubstate</a>(handler: <a href="../-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><<a href="on-state-or-substate.html">I</a>, <a href="index.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 class="brief "><p class="paragraph">Add NON STRICT <a href="on-state-or-substate.html">handler</a> to list of available in future <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a>. Non strict means that for input <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span> will be used <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/is-instance.html">KClass.isInstance</a> and any inheritor of kClass will pass this requirement</p></div></div>
|
||||
</div>
|
||||
@@ -189,10 +209,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a data-name="358326972%2FFunctions%2F-1982836883" anchor-label="startChain" id="358326972%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<a data-name="-1903622856%2FFunctions%2F-1982836883" anchor-label="startChain" id="-1903622856%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
<div class=""><span class="inline-flex"><a href="index.html#358326972%2FFunctions%2F-1982836883"><span>start</span><wbr></wbr><span><span>Chain</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="358326972%2FFunctions%2F-1982836883"></span>
|
||||
<div class=""><span class="inline-flex"><a href="index.html#-1903622856%2FFunctions%2F-1982836883"><span>start</span><wbr></wbr><span><span>Chain</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1903622856%2FFunctions%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
@@ -202,17 +222,17 @@
|
||||
<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">open suspend override fun <a href="index.html#358326972%2FFunctions%2F-1982836883">startChain</a>(state: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</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 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">open suspend override fun <a href="index.html#-1903622856%2FFunctions%2F-1982836883">startChain</a>(state: <a href="index.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="550301979%2FFunctions%2F-1982836883" anchor-label="strictlyOn" id="550301979%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<a data-name="-1215991367%2FFunctions%2F-1982836883" anchor-label="strictlyOn" id="-1215991367%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
<div class=""><span class="inline-flex"><a href="strictly-on.html"><span>strictly</span><wbr></wbr><span><span>On</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="550301979%2FFunctions%2F-1982836883"></span>
|
||||
<div class=""><span class="inline-flex"><a href="strictly-on.html"><span>strictly</span><wbr></wbr><span><span>On</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1215991367%2FFunctions%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
@@ -222,7 +242,7 @@
|
||||
<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 <<a href="strictly-on.html">I</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="strictly-on.html">strictlyOn</a>(handler: <a href="../-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><<a href="strictly-on.html">I</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 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 <<a href="strictly-on.html">I</a> : <a href="index.html">T</a>> <a href="strictly-on.html">strictlyOn</a>(handler: <a href="../-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><<a href="strictly-on.html">I</a>, <a href="index.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 class="brief "><p class="paragraph">Add STRICT <a href="strictly-on.html">handler</a> to list of available in future <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a>. Strict means that for input <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span> will be used <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>::class == kClass and any <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span> with exactly the same type will pass requirements</p></div></div>
|
||||
</div>
|
||||
@@ -359,6 +379,22 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a data-name="-1991764523%2FProperties%2F-1982836883" anchor-label="chatJoinRequestUpdateFlow" id="-1991764523%2FProperties%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
<div class=""><span class="inline-flex"><a href="../../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/chat-join-request-update-flow.html">chatJoinRequestUpdateFlow</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1991764523%2FProperties%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
<div class="platform-tags ">
|
||||
<div class="platform-tag common-like">common</div>
|
||||
</div>
|
||||
<div class="title">
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted" data-togglable="Properties"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><a data-name="-1991764523%2FProperties%2F-1982836883" anchor-label="chatJoinRequestUpdateFlow" id="-1991764523%2FProperties%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a><div class="symbol monospace">open override val <a href="../../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/chat-join-request-update-flow.html">chatJoinRequestUpdateFlow</a>: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../../dev.inmo.tgbotapi.types.update/-chat-join-request-update/index.html">ChatJoinRequestUpdate</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>
|
||||
<a data-name="-105872013%2FProperties%2F-1982836883" anchor-label="chatMemberUpdatesFlow" id="-105872013%2FProperties%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
|
@@ -13,7 +13,7 @@
|
||||
</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/BehaviourContextWithFSMBuilder/onStateOrSubstate/#dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourWithFSMStateHandler[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]/PointingToDeclaration//-1982836883">
|
||||
<script type="text/javascript" src="../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourContextWithFSMBuilder/onStateOrSubstate/#dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourWithFSMStateHandler[TypeParam(bounds=[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]),TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]/PointingToDeclaration//-1982836883">
|
||||
<div class="navigation-wrapper" id="navigation-wrapper">
|
||||
<div class="breadcrumbs"><a href="../../../index.html">docs</a>/<a href="../index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="index.html">BehaviourContextWithFSMBuilder</a>/<a href="on-state-or-substate.html">onStateOrSubstate</a></div>
|
||||
<div class="pull-right d-flex">
|
||||
@@ -27,7 +27,7 @@
|
||||
<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 <<a href="on-state-or-substate.html">I</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="on-state-or-substate.html">onStateOrSubstate</a>(handler: <a href="../-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><<a href="on-state-or-substate.html">I</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 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 <<a href="on-state-or-substate.html">I</a> : <a href="index.html">T</a>> <a href="on-state-or-substate.html">onStateOrSubstate</a>(handler: <a href="../-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><<a href="on-state-or-substate.html">I</a>, <a href="index.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">Add NON STRICT <a href="on-state-or-substate.html">handler</a> to list of available in future <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a>. Non strict means that for input <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span> will be used <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/is-instance.html">KClass.isInstance</a> and any inheritor of kClass will pass this requirement</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-with-f-s-m-state-handler-holder/index.html"><span>dev.</span><wbr></wbr><span>inmo.</span><wbr></wbr><span>tgbotapi.</span><wbr></wbr><span>extensions.</span><wbr></wbr><span>behaviour_builder.</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span>With</span><wbr></wbr><span>FSMState</span><wbr></wbr><span>Handler</span><wbr></wbr><span><span>Holder</span></span></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="add.html"><span>dev.</span><wbr></wbr><span>inmo.</span><wbr></wbr><span>tgbotapi.</span><wbr></wbr><span>extensions.</span><wbr></wbr><span>behaviour_builder.</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span>Context</span><wbr></wbr><span>With</span><wbr></wbr><span><span>FSMBuilder</span></span></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>
|
||||
|
@@ -13,7 +13,7 @@
|
||||
</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/BehaviourContextWithFSMBuilder/strictlyOn/#dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourWithFSMStateHandler[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]/PointingToDeclaration//-1982836883">
|
||||
<script type="text/javascript" src="../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourContextWithFSMBuilder/strictlyOn/#dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourWithFSMStateHandler[TypeParam(bounds=[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]),TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]/PointingToDeclaration//-1982836883">
|
||||
<div class="navigation-wrapper" id="navigation-wrapper">
|
||||
<div class="breadcrumbs"><a href="../../../index.html">docs</a>/<a href="../index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="index.html">BehaviourContextWithFSMBuilder</a>/<a href="strictly-on.html">strictlyOn</a></div>
|
||||
<div class="pull-right d-flex">
|
||||
@@ -27,7 +27,7 @@
|
||||
<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 <<a href="strictly-on.html">I</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="strictly-on.html">strictlyOn</a>(handler: <a href="../-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><<a href="strictly-on.html">I</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 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 <<a href="strictly-on.html">I</a> : <a href="index.html">T</a>> <a href="strictly-on.html">strictlyOn</a>(handler: <a href="../-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><<a href="strictly-on.html">I</a>, <a href="index.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">Add STRICT <a href="strictly-on.html">handler</a> to list of available in future <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a>. Strict means that for input <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span> will be used <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>::class == kClass and any <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span> with exactly the same type will pass requirements</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-with-f-s-m-state-handler-holder/index.html"><span>dev.</span><wbr></wbr><span>inmo.</span><wbr></wbr><span>tgbotapi.</span><wbr></wbr><span>extensions.</span><wbr></wbr><span>behaviour_builder.</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span>With</span><wbr></wbr><span>FSMState</span><wbr></wbr><span>Handler</span><wbr></wbr><span><span>Holder</span></span></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="add-strict.html"><span>dev.</span><wbr></wbr><span>inmo.</span><wbr></wbr><span>tgbotapi.</span><wbr></wbr><span>extensions.</span><wbr></wbr><span>behaviour_builder.</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span>Context</span><wbr></wbr><span>With</span><wbr></wbr><span><span>FSMBuilder</span></span></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>
|
||||
|
@@ -29,10 +29,10 @@
|
||||
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Functions">Functions</button></div>
|
||||
<div class="tabs-section-body">
|
||||
<h2 class="">Functions</h2>
|
||||
<div class="table" data-togglable="Functions"><a data-name="774619888%2FFunctions%2F-1982836883" anchor-label="invoke" id="774619888%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table" data-togglable="Functions"><a data-name="-96430918%2FFunctions%2F-1982836883" anchor-label="invoke" id="-96430918%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
<div class=""><span class="inline-flex"><a href="invoke.html"><span><span>invoke</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="774619888%2FFunctions%2F-1982836883"></span>
|
||||
<div class=""><span class="inline-flex"><a href="invoke.html"><span><span>invoke</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-96430918%2FFunctions%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
@@ -42,7 +42,7 @@
|
||||
<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">operator fun <a href="invoke.html">invoke</a>(behaviourContext: <a href="../../-behaviour-context/index.html">BehaviourContext</a>, handlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="../../-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*>>, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span>): <a href="../../-default-behaviour-context-with-f-s-m/index.html">DefaultBehaviourContextWithFSM</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 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">operator fun <<a href="invoke.html">T</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="invoke.html">invoke</a>(behaviourContext: <a href="../../-behaviour-context/index.html">BehaviourContext</a>, handlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="../../-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*, <a href="invoke.html">T</a>>>, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span><<a href="invoke.html">T</a>>): <a href="../../-default-behaviour-context-with-f-s-m/index.html">DefaultBehaviourContextWithFSM</a><<a href="invoke.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>
|
||||
|
@@ -13,7 +13,7 @@
|
||||
</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/BehaviourContextWithFSM.Companion/invoke/#dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext#kotlin.collections.List[dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourWithFSMStateHandlerHolder[*]]#dev.inmo.micro_utils.fsm.common.StatesManager/PointingToDeclaration//-1982836883">
|
||||
<script type="text/javascript" src="../../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourContextWithFSM.Companion/invoke/#dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext#kotlin.collections.List[dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourWithFSMStateHandlerHolder[*,TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]]#dev.inmo.micro_utils.fsm.common.StatesManager[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]/PointingToDeclaration//-1982836883">
|
||||
<div class="navigation-wrapper" id="navigation-wrapper">
|
||||
<div class="breadcrumbs"><a href="../../../../index.html">docs</a>/<a href="../../index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="../index.html">BehaviourContextWithFSM</a>/<a href="index.html">Companion</a>/<a href="invoke.html">invoke</a></div>
|
||||
<div class="pull-right d-flex">
|
||||
@@ -27,7 +27,7 @@
|
||||
<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">operator fun <a href="invoke.html">invoke</a>(behaviourContext: <a href="../../-behaviour-context/index.html">BehaviourContext</a>, handlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="../../-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*>>, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span>): <a href="../../-default-behaviour-context-with-f-s-m/index.html">DefaultBehaviourContextWithFSM</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 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">operator fun <<a href="invoke.html">T</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="invoke.html">invoke</a>(behaviourContext: <a href="../../-behaviour-context/index.html">BehaviourContext</a>, handlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="../../-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*, <a href="invoke.html">T</a>>>, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span><<a href="invoke.html">T</a>>): <a href="../../-default-behaviour-context-with-f-s-m/index.html">DefaultBehaviourContextWithFSM</a><<a href="invoke.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>
|
||||
|
@@ -27,7 +27,7 @@
|
||||
<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">abstract override fun <a href="copy.html">copy</a>(bot: <a href="../../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>, broadcastChannelsSize: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>, onBufferOverflow: <span data-unresolved-link="kotlinx.coroutines.channels/BufferOverflow///PointingToDeclaration/">BufferOverflow</span>, upstreamUpdatesFlow: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>>?, updatesFilter: <a href="../index.html#-1477624743%2FClasslikes%2F-1982836883">BehaviourContextAndTypeReceiver</a><<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>>?): <a href="index.html">BehaviourContextWithFSM</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 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">abstract override fun <a href="copy.html">copy</a>(bot: <a href="../../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>, broadcastChannelsSize: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>, onBufferOverflow: <span data-unresolved-link="kotlinx.coroutines.channels/BufferOverflow///PointingToDeclaration/">BufferOverflow</span>, upstreamUpdatesFlow: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>>?, updatesFilter: <a href="../index.html#-1477624743%2FClasslikes%2F-1982836883">BehaviourContextAndTypeReceiver</a><<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>>?): <a href="index.html">BehaviourContextWithFSM</a><<a href="index.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>
|
||||
|
@@ -23,7 +23,7 @@
|
||||
</div>
|
||||
<div class="cover ">
|
||||
<h1 class="cover"><span>Behaviour</span><wbr></wbr><span>Context</span><wbr></wbr><span>With</span><wbr></wbr><span><span>FSM</span></span></h1>
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">interface <a href="index.html">BehaviourContextWithFSM</a> : <a href="../-behaviour-context/index.html">BehaviourContext</a>, <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesMachine///PointingToDeclaration/">StatesMachine</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><p class="paragraph">Interface which combine <a href="../-behaviour-context/index.html">BehaviourContext</a> and <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesMachine///PointingToDeclaration/">StatesMachine</span>. Subcontext of triggers and states contexts must have one common flow of updates and must not lose updates between updates</p></div></div>
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">interface <a href="index.html">BehaviourContextWithFSM</a><<a href="index.html">T</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> : <a href="../-behaviour-context/index.html">BehaviourContext</a>, <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesMachine///PointingToDeclaration/">StatesMachine</span><<a href="index.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><p class="paragraph">Interface which combine <a href="../-behaviour-context/index.html">BehaviourContext</a> and <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesMachine///PointingToDeclaration/">StatesMachine</span>. Subcontext of triggers and states contexts must have one common flow of updates and must not lose updates between updates</p></div></div>
|
||||
</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><button class="section-tab" data-togglable="Properties">Properties</button><button class="section-tab" data-togglable="See also">See also</button><button class="section-tab" data-togglable="Inheritors">Inheritors</button></div>
|
||||
@@ -88,7 +88,7 @@
|
||||
<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">abstract override fun <a href="copy.html">copy</a>(bot: <a href="../../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>, broadcastChannelsSize: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>, onBufferOverflow: <span data-unresolved-link="kotlinx.coroutines.channels/BufferOverflow///PointingToDeclaration/">BufferOverflow</span>, upstreamUpdatesFlow: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>>?, updatesFilter: <a href="../index.html#-1477624743%2FClasslikes%2F-1982836883">BehaviourContextAndTypeReceiver</a><<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>>?): <a href="index.html">BehaviourContextWithFSM</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 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">abstract override fun <a href="copy.html">copy</a>(bot: <a href="../../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>, broadcastChannelsSize: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>, onBufferOverflow: <span data-unresolved-link="kotlinx.coroutines.channels/BufferOverflow///PointingToDeclaration/">BufferOverflow</span>, upstreamUpdatesFlow: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>>?, updatesFilter: <a href="../index.html#-1477624743%2FClasslikes%2F-1982836883">BehaviourContextAndTypeReceiver</a><<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>>?): <a href="index.html">BehaviourContextWithFSM</a><<a href="index.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>
|
||||
@@ -115,10 +115,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a data-name="1663827417%2FFunctions%2F-1982836883" anchor-label="handleState" id="1663827417%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<a data-name="1210167093%2FFunctions%2F-1982836883" anchor-label="handleState" id="1210167093%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
<div class=""><span class="inline-flex"><a href="../-behaviour-context-with-f-s-m-builder/index.html#1663827417%2FFunctions%2F-1982836883"><span>handle</span><wbr></wbr><span><span>State</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1663827417%2FFunctions%2F-1982836883"></span>
|
||||
<div class=""><span class="inline-flex"><a href="../-behaviour-context-with-f-s-m-builder/index.html#1210167093%2FFunctions%2F-1982836883"><span>handle</span><wbr></wbr><span><span>State</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1210167093%2FFunctions%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
@@ -128,7 +128,27 @@
|
||||
<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">abstract suspend fun <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesMachine///PointingToDeclaration/">StatesMachine</span>.<a href="../-behaviour-context-with-f-s-m-builder/index.html#1663827417%2FFunctions%2F-1982836883">handleState</a>(state: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>): <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</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 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">abstract suspend fun <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesMachine///PointingToDeclaration/">StatesMachine</span><in <a href="index.html">T</a>>.<a href="../-behaviour-context-with-f-s-m-builder/index.html#1210167093%2FFunctions%2F-1982836883">handleState</a>(state: <a href="index.html">T</a>): <a href="index.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="-1355105410%2FFunctions%2F-1982836883" anchor-label="launchStateHandling" id="-1355105410%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
<div class=""><span class="inline-flex"><a href="../-behaviour-context-with-f-s-m-builder/index.html#-1320157902%2FFunctions%2F-1982836883"><span>launch</span><wbr></wbr><span>State</span><wbr></wbr><span><span>Handling</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1355105410%2FFunctions%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
<div class="platform-tags ">
|
||||
<div class="platform-tag common-like">common</div>
|
||||
</div>
|
||||
<div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
|
||||
|
||||
<div>
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">open suspend fun <a href="../-behaviour-context-with-f-s-m-builder/index.html#-1320157902%2FFunctions%2F-1982836883">launchStateHandling</a>(state: <a href="index.html">T</a>, handlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<span data-unresolved-link="dev.inmo.micro_utils.fsm.common/CustomizableHandlerHolder///PointingToDeclaration/">CustomizableHandlerHolder</span><in <a href="index.html">T</a>, <a href="index.html">T</a>>>): <a href="index.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 class="symbol monospace">open suspend fun <a href="launch-state-handling.html">launchStateHandling</a>(state: <a href="index.html">T</a>, contextUpdatesFlow: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>>, handlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="../-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*, <a href="index.html">T</a>>>): <a href="index.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>
|
||||
@@ -155,10 +175,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a data-name="358326972%2FFunctions%2F-1982836883" anchor-label="startChain" id="358326972%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<a data-name="-1903622856%2FFunctions%2F-1982836883" anchor-label="startChain" id="-1903622856%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
<div class=""><span class="inline-flex"><a href="../-behaviour-context-with-f-s-m-builder/index.html#358326972%2FFunctions%2F-1982836883"><span>start</span><wbr></wbr><span><span>Chain</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="358326972%2FFunctions%2F-1982836883"></span>
|
||||
<div class=""><span class="inline-flex"><a href="../-behaviour-context-with-f-s-m-builder/index.html#-1903622856%2FFunctions%2F-1982836883"><span>start</span><wbr></wbr><span><span>Chain</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1903622856%2FFunctions%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
@@ -168,7 +188,7 @@
|
||||
<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">abstract suspend fun <a href="../-behaviour-context-with-f-s-m-builder/index.html#358326972%2FFunctions%2F-1982836883">startChain</a>(state: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</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 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">abstract suspend fun <a href="../-behaviour-context-with-f-s-m-builder/index.html#-1903622856%2FFunctions%2F-1982836883">startChain</a>(state: <a href="index.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>
|
||||
@@ -305,6 +325,22 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a data-name="-1991764523%2FProperties%2F-1982836883" anchor-label="chatJoinRequestUpdateFlow" id="-1991764523%2FProperties%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
<div class=""><span class="inline-flex"><a href="../../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/chat-join-request-update-flow.html">chatJoinRequestUpdateFlow</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1991764523%2FProperties%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
<div class="platform-tags ">
|
||||
<div class="platform-tag common-like">common</div>
|
||||
</div>
|
||||
<div class="title">
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted" data-togglable="Properties"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><a data-name="-1991764523%2FProperties%2F-1982836883" anchor-label="chatJoinRequestUpdateFlow" id="-1991764523%2FProperties%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a><div class="symbol monospace">abstract val <a href="../../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/chat-join-request-update-flow.html">chatJoinRequestUpdateFlow</a>: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../../dev.inmo.tgbotapi.types.update/-chat-join-request-update/index.html">ChatJoinRequestUpdate</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>
|
||||
<a data-name="-105872013%2FProperties%2F-1982836883" anchor-label="chatMemberUpdatesFlow" id="-105872013%2FProperties%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
|
@@ -0,0 +1,39 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
|
||||
<title>launchStateHandling</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/BehaviourContextWithFSM/launchStateHandling/#TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])#kotlinx.coroutines.flow.Flow[dev.inmo.tgbotapi.types.update.abstracts.Update]#kotlin.collections.List[dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourWithFSMStateHandlerHolder[*,TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]]/PointingToDeclaration//-1982836883">
|
||||
<div class="navigation-wrapper" id="navigation-wrapper">
|
||||
<div class="breadcrumbs"><a href="../../../index.html">docs</a>/<a href="../index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="index.html">BehaviourContextWithFSM</a>/<a href="launch-state-handling.html">launchStateHandling</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>launch</span><wbr></wbr><span>State</span><wbr></wbr><span><span>Handling</span></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">open suspend fun <a href="launch-state-handling.html">launchStateHandling</a>(state: <a href="index.html">T</a>, contextUpdatesFlow: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>>, handlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="../-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*, <a href="index.html">T</a>>>): <a href="index.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>
|
||||
|
@@ -223,6 +223,22 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a data-name="-1991764523%2FProperties%2F-1982836883" anchor-label="chatJoinRequestUpdateFlow" id="-1991764523%2FProperties%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
<div class=""><span class="inline-flex"><a href="../../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/chat-join-request-update-flow.html">chatJoinRequestUpdateFlow</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1991764523%2FProperties%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
<div class="platform-tags ">
|
||||
<div class="platform-tag common-like">common</div>
|
||||
</div>
|
||||
<div class="title">
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted" data-togglable="Properties"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><a data-name="-1991764523%2FProperties%2F-1982836883" anchor-label="chatJoinRequestUpdateFlow" id="-1991764523%2FProperties%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a><div class="symbol monospace">abstract val <a href="../../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/chat-join-request-update-flow.html">chatJoinRequestUpdateFlow</a>: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../../dev.inmo.tgbotapi.types.update/-chat-join-request-update/index.html">ChatJoinRequestUpdate</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>
|
||||
<a data-name="-105872013%2FProperties%2F-1982836883" anchor-label="chatMemberUpdatesFlow" id="-105872013%2FProperties%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
@@ -918,6 +934,26 @@
|
||||
<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="index.html">BehaviourContext</a>.<a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-chat-events.html">waitChatEvents</a>(initRequest: <a href="../../dev.inmo.tgbotapi.requests.abstracts/-request/index.html">Request</a><*>? = null, errorFactory: <a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/index.html#278660993%2FClasslikes%2F-1982836883">NullableRequestBuilder</a><*> = { null }, count: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a> = 1, filter: <a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/index.html#610075924%2FClasslikes%2F-1982836883">SimpleFilter</a><<a href="../../dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html">ChatEventMessage</a><<a href="../../dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-chat-event/index.html">ChatEvent</a>>>? = null, mapper: <a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/index.html#-2041396479%2FClasslikes%2F-1982836883">EventMessageToEventMapper</a><<a href="../../dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-chat-event/index.html">ChatEvent</a>>? = null): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="../../dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-chat-event/index.html">ChatEvent</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="929866036%2FExtensions%2F-1982836883" anchor-label="waitChatJoinRequests" id="929866036%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
<div class=""><span class="inline-flex"><a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-chat-join-requests.html"><span>wait</span><wbr></wbr><span>Chat</span><wbr></wbr><span>Join</span><wbr></wbr><span><span>Requests</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="929866036%2FExtensions%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
<div class="platform-tags ">
|
||||
<div class="platform-tag common-like">common</div>
|
||||
</div>
|
||||
<div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
|
||||
|
||||
<div>
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">suspend fun <a href="index.html">BehaviourContext</a>.<a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-chat-join-requests.html">waitChatJoinRequests</a>(initRequest: <a href="../../dev.inmo.tgbotapi.requests.abstracts/-request/index.html">Request</a><*>? = null, errorFactory: <a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/index.html#278660993%2FClasslikes%2F-1982836883">NullableRequestBuilder</a><*> = { null }, count: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a> = 1, filter: <a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.utils/index.html#610075924%2FClasslikes%2F-1982836883">SimpleFilter</a><<a href="../../dev.inmo.tgbotapi.types/-chat-join-request/index.html">ChatJoinRequest</a>>? = null, mapper: <a href="../../dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/index.html#-206023641%2FClasslikes%2F-1982836883">ChatJoinRequestsMapper</a>? = null): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="../../dev.inmo.tgbotapi.types/-chat-join-request/index.html">ChatJoinRequest</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>
|
||||
|
@@ -0,0 +1,39 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
|
||||
<title>BehaviourWithFSMStateHandlerHolder</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//BehaviourWithFSMStateHandlerHolder/#kotlin.Boolean#dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourWithFSMStateHandler[TypeParam(bounds=[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]),TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]/PointingToDeclaration//-1982836883">
|
||||
<div class="navigation-wrapper" id="navigation-wrapper">
|
||||
<div class="breadcrumbs"><a href="../../index.html">docs</a>/<a href="index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="-behaviour-with-f-s-m-state-handler-holder.html">BehaviourWithFSMStateHandlerHolder</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>With</span><wbr></wbr><span>FSMState</span><wbr></wbr><span>Handler</span><wbr></wbr><span><span>Holder</span></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 <<a href="-behaviour-with-f-s-m-state-handler-holder.html">I</a> : <a href="-behaviour-with-f-s-m-state-handler-holder.html">O</a>, <a href="-behaviour-with-f-s-m-state-handler-holder.html">O</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="-behaviour-with-f-s-m-state-handler-holder.html">BehaviourWithFSMStateHandlerHolder</a>(strict: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false, delegateTo: <a href="-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><<a href="-behaviour-with-f-s-m-state-handler-holder.html">I</a>, <a href="-behaviour-with-f-s-m-state-handler-holder.html">O</a>>): <a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><<a href="-behaviour-with-f-s-m-state-handler-holder.html">I</a>, <a href="-behaviour-with-f-s-m-state-handler-holder.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>
|
||||
|
@@ -13,7 +13,7 @@
|
||||
</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/BehaviourWithFSMStateHandlerHolder/BehaviourWithFSMStateHandlerHolder/#kotlin.reflect.KClass[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]#kotlin.Boolean#dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourWithFSMStateHandler[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]/PointingToDeclaration//-1982836883">
|
||||
<script type="text/javascript" src="../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourWithFSMStateHandlerHolder/BehaviourWithFSMStateHandlerHolder/#kotlin.reflect.KClass[TypeParam(bounds=[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])])]#kotlin.Boolean#dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourWithFSMStateHandler[TypeParam(bounds=[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]),TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]/PointingToDeclaration//-1982836883">
|
||||
<div class="navigation-wrapper" id="navigation-wrapper">
|
||||
<div class="breadcrumbs"><a href="../../../index.html">docs</a>/<a href="../index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="index.html">BehaviourWithFSMStateHandlerHolder</a>/<a href="-behaviour-with-f-s-m-state-handler-holder.html">BehaviourWithFSMStateHandlerHolder</a></div>
|
||||
<div class="pull-right d-flex">
|
||||
@@ -27,9 +27,9 @@
|
||||
<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="index.html">I</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="-behaviour-with-f-s-m-state-handler-holder.html">BehaviourWithFSMStateHandlerHolder</a>(inputKlass: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a><<a href="index.html">I</a>>, strict: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false, delegateTo: <a href="../-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><<a href="index.html">I</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 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="index.html">I</a> : <a href="index.html">O</a>, <a href="index.html">O</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="-behaviour-with-f-s-m-state-handler-holder.html">BehaviourWithFSMStateHandlerHolder</a>(inputKlass: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a><<a href="index.html">I</a>>, strict: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false, delegateTo: <a href="../-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><<a href="index.html">I</a>, <a href="index.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>
|
||||
<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"><span>input</span><wbr></wbr><span><span>Klass</span></span></span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">This <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a> will be used to compare input <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span> type and declare ability of <span data-unresolved-link="dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourWithFSMStateHandlerHolder/&lt;init&gt;/#kotlin.reflect.KClass[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]#kotlin.Boolean#dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourWithFSMStateHandler[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]/PointingToCallableParameters(2)/">delegateTo</span> to handle incoming <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>. See <a href="check-handleable.html">checkHandleable</a> for more info</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"><span><span>strict</span></span></span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">This flag will be used in <a href="check-handleable.html">checkHandleable</a> to choose strategy of checking incoming <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span></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"><span>delegate</span><wbr></wbr><span><span>To</span></span></span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">This handler will be called in case <a href="check-handleable.html">checkHandleable</a> returns true with class caster incoming <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span> in <a href="handle-state.html">handleState</a></p></div></div></div></div></div></div></div></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"><span>input</span><wbr></wbr><span><span>Klass</span></span></span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">This <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a> will be used to compare input <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span> type and declare ability of <span data-unresolved-link="dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourWithFSMStateHandlerHolder/&lt;init&gt;/#kotlin.reflect.KClass[TypeParam(bounds=[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])])]#kotlin.Boolean#dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourWithFSMStateHandler[TypeParam(bounds=[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]),TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]/PointingToCallableParameters(2)/">delegateTo</span> to handle incoming <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>. See <a href="check-handleable.html">checkHandleable</a> for more info</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"><span><span>strict</span></span></span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">This flag will be used in <a href="check-handleable.html">checkHandleable</a> to choose strategy of checking incoming <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span></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"><span>delegate</span><wbr></wbr><span><span>To</span></span></span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">This handler will be called in case <a href="check-handleable.html">checkHandleable</a> returns true with class caster incoming <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span> in <a href="handle-state.html">handleState</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>
|
||||
|
@@ -13,7 +13,7 @@
|
||||
</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/BehaviourWithFSMStateHandlerHolder/checkHandleable/#dev.inmo.micro_utils.fsm.common.State/PointingToDeclaration//-1982836883">
|
||||
<script type="text/javascript" src="../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourWithFSMStateHandlerHolder/checkHandleable/#TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])/PointingToDeclaration//-1982836883">
|
||||
<div class="navigation-wrapper" id="navigation-wrapper">
|
||||
<div class="breadcrumbs"><a href="../../../index.html">docs</a>/<a href="../index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="index.html">BehaviourWithFSMStateHandlerHolder</a>/<a href="check-handleable.html">checkHandleable</a></div>
|
||||
<div class="pull-right d-flex">
|
||||
@@ -27,7 +27,7 @@
|
||||
<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="check-handleable.html">checkHandleable</a>(state: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</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 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="check-handleable.html">checkHandleable</a>(state: <a href="index.html">O</a>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</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">Check ability of <span data-unresolved-link="dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourWithFSMStateHandlerHolder/delegateTo/#/PointingToDeclaration/">delegateTo</span> to handle this <a href="check-handleable.html">state</a></p><h4 class="">Return</h4><p class="paragraph">When <a href="check-handleable.html">state</a>::class exactly equals to <span data-unresolved-link="dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourWithFSMStateHandlerHolder/inputKlass/#/PointingToDeclaration/">inputKlass</span> will always return true. Otherwise when <span data-unresolved-link="dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourWithFSMStateHandlerHolder/strict/#/PointingToDeclaration/">strict</span> mode is disabled, will be used <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/is-instance.html">KClass.isInstance</a> of <span data-unresolved-link="dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourWithFSMStateHandlerHolder/inputKlass/#/PointingToDeclaration/">inputKlass</span> for checking</p></div>
|
||||
</div>
|
||||
|
@@ -13,7 +13,7 @@
|
||||
</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/BehaviourWithFSMStateHandlerHolder/handleState/dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContextWithFSM#kotlinx.coroutines.flow.Flow[dev.inmo.tgbotapi.types.update.abstracts.Update]#dev.inmo.micro_utils.fsm.common.State/PointingToDeclaration//-1982836883">
|
||||
<script type="text/javascript" src="../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourWithFSMStateHandlerHolder/handleState/dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContextWithFSM[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]#kotlinx.coroutines.flow.Flow[dev.inmo.tgbotapi.types.update.abstracts.Update]#TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])/PointingToDeclaration//-1982836883">
|
||||
<div class="navigation-wrapper" id="navigation-wrapper">
|
||||
<div class="breadcrumbs"><a href="../../../index.html">docs</a>/<a href="../index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="index.html">BehaviourWithFSMStateHandlerHolder</a>/<a href="handle-state.html">handleState</a></div>
|
||||
<div class="pull-right d-flex">
|
||||
@@ -27,7 +27,7 @@
|
||||
<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="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a>.<a href="handle-state.html">handleState</a>(contextUpdatesFlow: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>>, state: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>): <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</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 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="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a><in <a href="index.html">O</a>>.<a href="handle-state.html">handleState</a>(contextUpdatesFlow: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>>, state: <a href="index.html">O</a>): <a href="index.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>
|
||||
<p class="paragraph">Handling of state :)</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"><span>context</span><wbr></wbr><span>Updates</span><wbr></wbr><span><span>Flow</span></span></span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">This <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span> will be used as source of updates. By contract, this <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span> must be common for all <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>s of incoming <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State/context/#/PointingToDeclaration/">state</span> and for the whole chain inside of <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a></p></div></div></div></div></div></div></div></div></div></div></div>
|
||||
</div>
|
||||
|
@@ -23,7 +23,7 @@
|
||||
</div>
|
||||
<div class="cover ">
|
||||
<h1 class="cover"><span>Behaviour</span><wbr></wbr><span>With</span><wbr></wbr><span>FSMState</span><wbr></wbr><span>Handler</span><wbr></wbr><span><span>Holder</span></span></h1>
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">class <a href="index.html">BehaviourWithFSMStateHandlerHolder</a><<a href="index.html">I</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>>(inputKlass: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a><<a href="index.html">I</a>>, strict: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>, delegateTo: <a href="../-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><<a href="index.html">I</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><p class="paragraph">Special holder for <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a>. This holder helps <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a> to understand whether it can handle input <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span> with <span data-unresolved-link="dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourWithFSMStateHandlerHolder/delegateTo/#/PointingToDeclaration/">delegateTo</span> or not</p></div></div>
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">class <a href="index.html">BehaviourWithFSMStateHandlerHolder</a><<a href="index.html">I</a> : <a href="index.html">O</a>, <a href="index.html">O</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>>(inputKlass: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a><<a href="index.html">I</a>>, strict: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>, delegateTo: <a href="../-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><<a href="index.html">I</a>, <a href="index.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><p class="paragraph">Special holder for <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a>. This holder helps <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a> to understand whether it can handle input <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span> with <span data-unresolved-link="dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourWithFSMStateHandlerHolder/delegateTo/#/PointingToDeclaration/">delegateTo</span> or not</p></div></div>
|
||||
</div>
|
||||
<div class="tabbedcontent">
|
||||
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Constructors">Constructors</button><button class="section-tab" data-togglable="Functions">Functions</button><button class="section-tab" data-togglable="Parameters">Parameters</button></div>
|
||||
@@ -33,10 +33,10 @@
|
||||
<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"><span>input</span><wbr></wbr><span><span>Klass</span></span></span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">This <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a> will be used to compare input <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span> type and declare ability of <span data-unresolved-link="dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourWithFSMStateHandlerHolder/delegateTo/#/PointingToDeclaration/">delegateTo</span> to handle incoming <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>. See <a href="check-handleable.html">checkHandleable</a> for more info</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"><span><span>strict</span></span></span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">This flag will be used in <a href="check-handleable.html">checkHandleable</a> to choose strategy of checking incoming <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span></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"><span>delegate</span><wbr></wbr><span><span>To</span></span></span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">This handler will be called in case <a href="check-handleable.html">checkHandleable</a> returns true with class caster incoming <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span> in <a href="handle-state.html">handleState</a></p></div></div></div></div></div></div></div></div></div>
|
||||
</div>
|
||||
<h2 class="tabbedcontent">Constructors</h2>
|
||||
<div class="table" data-togglable="Constructors"><a data-name="1820167505%2FConstructors%2F-1982836883" anchor-label="BehaviourWithFSMStateHandlerHolder" id="1820167505%2FConstructors%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table" data-togglable="Constructors"><a data-name="293952883%2FConstructors%2F-1982836883" anchor-label="BehaviourWithFSMStateHandlerHolder" id="293952883%2FConstructors%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue TabbedContent">
|
||||
<div class=""><span class="inline-flex"><a href="-behaviour-with-f-s-m-state-handler-holder.html">BehaviourWithFSMStateHandlerHolder</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1820167505%2FConstructors%2F-1982836883"></span>
|
||||
<div class=""><span class="inline-flex"><a href="-behaviour-with-f-s-m-state-handler-holder.html">BehaviourWithFSMStateHandlerHolder</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="293952883%2FConstructors%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
@@ -44,17 +44,17 @@
|
||||
<div class="platform-tag common-like">common</div>
|
||||
</div>
|
||||
<div class="title">
|
||||
<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="index.html">I</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="-behaviour-with-f-s-m-state-handler-holder.html">BehaviourWithFSMStateHandlerHolder</a>(inputKlass: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a><<a href="index.html">I</a>>, strict: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false, delegateTo: <a href="../-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><<a href="index.html">I</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 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="index.html">I</a> : <a href="index.html">O</a>, <a href="index.html">O</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="-behaviour-with-f-s-m-state-handler-holder.html">BehaviourWithFSMStateHandlerHolder</a>(inputKlass: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a><<a href="index.html">I</a>>, strict: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false, delegateTo: <a href="../-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><<a href="index.html">I</a>, <a href="index.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>
|
||||
<h2 class="">Functions</h2>
|
||||
<div class="table" data-togglable="Functions"><a data-name="644284694%2FFunctions%2F-1982836883" anchor-label="checkHandleable" id="644284694%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table" data-togglable="Functions"><a data-name="1140830866%2FFunctions%2F-1982836883" anchor-label="checkHandleable" id="1140830866%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
<div class=""><span class="inline-flex"><a href="check-handleable.html"><span>check</span><wbr></wbr><span><span>Handleable</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="644284694%2FFunctions%2F-1982836883"></span>
|
||||
<div class=""><span class="inline-flex"><a href="check-handleable.html"><span>check</span><wbr></wbr><span><span>Handleable</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1140830866%2FFunctions%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
@@ -64,17 +64,17 @@
|
||||
<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="check-handleable.html">checkHandleable</a>(state: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</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 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="check-handleable.html">checkHandleable</a>(state: <a href="index.html">O</a>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</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 class="brief "><p class="paragraph">Check ability of <span data-unresolved-link="dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourWithFSMStateHandlerHolder/delegateTo/#/PointingToDeclaration/">delegateTo</span> to handle this <a href="check-handleable.html">state</a></p></div></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a data-name="-1974529157%2FFunctions%2F-1982836883" anchor-label="handleState" id="-1974529157%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<a data-name="2077734117%2FFunctions%2F-1982836883" anchor-label="handleState" id="2077734117%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
<div class=""><span class="inline-flex"><a href="handle-state.html"><span>handle</span><wbr></wbr><span><span>State</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1974529157%2FFunctions%2F-1982836883"></span>
|
||||
<div class=""><span class="inline-flex"><a href="handle-state.html"><span>handle</span><wbr></wbr><span><span>State</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="2077734117%2FFunctions%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
@@ -84,7 +84,7 @@
|
||||
<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="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a>.<a href="handle-state.html">handleState</a>(contextUpdatesFlow: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>>, state: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>): <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</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 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="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a><in <a href="index.html">O</a>>.<a href="handle-state.html">handleState</a>(contextUpdatesFlow: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>>, state: <a href="index.html">O</a>): <a href="index.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 class="brief "><p class="paragraph">Handling of state :)</p></div></div>
|
||||
</div>
|
||||
|
@@ -13,7 +13,7 @@
|
||||
</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/BehaviourWithFSMStateHandler/handleState/dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContextWithFSM#TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])/PointingToDeclaration//-1982836883">
|
||||
<script type="text/javascript" src="../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourWithFSMStateHandler/handleState/dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContextWithFSM[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]#TypeParam(bounds=[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])])/PointingToDeclaration//-1982836883">
|
||||
<div class="navigation-wrapper" id="navigation-wrapper">
|
||||
<div class="breadcrumbs"><a href="../../../index.html">docs</a>/<a href="../index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="index.html">BehaviourWithFSMStateHandler</a>/<a href="handle-state.html">handleState</a></div>
|
||||
<div class="pull-right d-flex">
|
||||
@@ -27,7 +27,7 @@
|
||||
<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">abstract suspend fun <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a>.<a href="handle-state.html">handleState</a>(state: <a href="index.html">T</a>): <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</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 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">abstract suspend fun <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a><in <a href="index.html">O</a>>.<a href="handle-state.html">handleState</a>(state: <a href="index.html">I</a>): <a href="index.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>
|
||||
|
@@ -23,16 +23,16 @@
|
||||
</div>
|
||||
<div class="cover ">
|
||||
<h1 class="cover"><span>Behaviour</span><wbr></wbr><span>With</span><wbr></wbr><span>FSMState</span><wbr></wbr><span><span>Handler</span></span></h1>
|
||||
<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 interface <a href="index.html">BehaviourWithFSMStateHandler</a><<a href="index.html">T</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</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 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 interface <a href="index.html">BehaviourWithFSMStateHandler</a><<a href="index.html">I</a> : <a href="index.html">O</a>, <a href="index.html">O</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</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>
|
||||
<div class="tabbedcontent">
|
||||
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Functions">Functions</button></div>
|
||||
<div class="tabs-section-body">
|
||||
<h2 class="">Functions</h2>
|
||||
<div class="table" data-togglable="Functions"><a data-name="787966834%2FFunctions%2F-1982836883" anchor-label="handleState" id="787966834%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table" data-togglable="Functions"><a data-name="1135492340%2FFunctions%2F-1982836883" anchor-label="handleState" id="1135492340%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
<div class=""><span class="inline-flex"><a href="handle-state.html"><span>handle</span><wbr></wbr><span><span>State</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="787966834%2FFunctions%2F-1982836883"></span>
|
||||
<div class=""><span class="inline-flex"><a href="handle-state.html"><span>handle</span><wbr></wbr><span><span>State</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1135492340%2FFunctions%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
@@ -42,7 +42,7 @@
|
||||
<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">abstract suspend fun <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a>.<a href="handle-state.html">handleState</a>(state: <a href="index.html">T</a>): <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</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 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">abstract suspend fun <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a><in <a href="index.html">O</a>>.<a href="handle-state.html">handleState</a>(state: <a href="index.html">I</a>): <a href="index.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>
|
||||
|
@@ -13,7 +13,7 @@
|
||||
</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/DefaultBehaviourContextWithFSM/DefaultBehaviourContextWithFSM/#dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext#dev.inmo.micro_utils.fsm.common.StatesManager#kotlin.collections.List[dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourWithFSMStateHandlerHolder[*]]/PointingToDeclaration//-1982836883">
|
||||
<script type="text/javascript" src="../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder/DefaultBehaviourContextWithFSM/DefaultBehaviourContextWithFSM/#dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext#dev.inmo.micro_utils.fsm.common.StatesManager[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]#kotlin.collections.List[dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourWithFSMStateHandlerHolder[*,TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]]/PointingToDeclaration//-1982836883">
|
||||
<div class="navigation-wrapper" id="navigation-wrapper">
|
||||
<div class="breadcrumbs"><a href="../../../index.html">docs</a>/<a href="../index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="index.html">DefaultBehaviourContextWithFSM</a>/<a href="-default-behaviour-context-with-f-s-m.html">DefaultBehaviourContextWithFSM</a></div>
|
||||
<div class="pull-right d-flex">
|
||||
@@ -27,7 +27,7 @@
|
||||
<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="-default-behaviour-context-with-f-s-m.html">DefaultBehaviourContextWithFSM</a>(behaviourContext: <a href="../-behaviour-context/index.html">BehaviourContext</a>, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span>, handlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="../-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</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 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="index.html">T</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="-default-behaviour-context-with-f-s-m.html">DefaultBehaviourContextWithFSM</a>(behaviourContext: <a href="../-behaviour-context/index.html">BehaviourContext</a>, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span><<a href="index.html">T</a>>, handlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="../-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*, <a href="index.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>
|
||||
|
@@ -27,7 +27,7 @@
|
||||
<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">open override fun <a href="copy.html">copy</a>(bot: <a href="../../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>, broadcastChannelsSize: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>, onBufferOverflow: <span data-unresolved-link="kotlinx.coroutines.channels/BufferOverflow///PointingToDeclaration/">BufferOverflow</span>, upstreamUpdatesFlow: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>>?, updatesFilter: <a href="../index.html#-1477624743%2FClasslikes%2F-1982836883">BehaviourContextAndTypeReceiver</a><<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>>?): <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</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 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">open override fun <a href="copy.html">copy</a>(bot: <a href="../../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>, broadcastChannelsSize: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>, onBufferOverflow: <span data-unresolved-link="kotlinx.coroutines.channels/BufferOverflow///PointingToDeclaration/">BufferOverflow</span>, upstreamUpdatesFlow: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>>?, updatesFilter: <a href="../index.html#-1477624743%2FClasslikes%2F-1982836883">BehaviourContextAndTypeReceiver</a><<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>>?): <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a><<a href="index.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>
|
||||
|
@@ -13,7 +13,7 @@
|
||||
</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/DefaultBehaviourContextWithFSM/handleState/dev.inmo.micro_utils.fsm.common.StatesMachine#dev.inmo.micro_utils.fsm.common.State/PointingToDeclaration//-1982836883">
|
||||
<script type="text/javascript" src="../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder/DefaultBehaviourContextWithFSM/handleState/dev.inmo.micro_utils.fsm.common.StatesMachine[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]#TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])/PointingToDeclaration//-1982836883">
|
||||
<div class="navigation-wrapper" id="navigation-wrapper">
|
||||
<div class="breadcrumbs"><a href="../../../index.html">docs</a>/<a href="../index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="index.html">DefaultBehaviourContextWithFSM</a>/<a href="handle-state.html">handleState</a></div>
|
||||
<div class="pull-right d-flex">
|
||||
@@ -27,7 +27,7 @@
|
||||
<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">open suspend override fun <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesMachine///PointingToDeclaration/">StatesMachine</span>.<a href="handle-state.html">handleState</a>(state: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>): <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</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 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">open suspend override fun <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesMachine///PointingToDeclaration/">StatesMachine</span><in <a href="index.html">T</a>>.<a href="handle-state.html">handleState</a>(state: <a href="index.html">T</a>): <a href="index.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>
|
||||
|
@@ -23,16 +23,16 @@
|
||||
</div>
|
||||
<div class="cover ">
|
||||
<h1 class="cover"><span>Default</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span>Context</span><wbr></wbr><span>With</span><wbr></wbr><span><span>FSM</span></span></h1>
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">class <a href="index.html">DefaultBehaviourContextWithFSM</a>(behaviourContext: <a href="../-behaviour-context/index.html">BehaviourContext</a>, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span>, handlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="../-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*>>) : <a href="../-behaviour-context/index.html">BehaviourContext</a>, <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</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><p class="paragraph">Default realization of <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a>. It uses <span data-unresolved-link="dev.inmo.tgbotapi.extensions.behaviour_builder/DefaultBehaviourContextWithFSM/behaviourContext/#/PointingToDeclaration/">behaviourContext</span> as a base for this object as <a href="../-behaviour-context/index.html">BehaviourContext</a>, but managing substates contexts updates for avoiding of updates lost between states</p></div></div>
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">class <a href="index.html">DefaultBehaviourContextWithFSM</a><<a href="index.html">T</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>>(behaviourContext: <a href="../-behaviour-context/index.html">BehaviourContext</a>, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span><<a href="index.html">T</a>>, handlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="../-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*, <a href="index.html">T</a>>>) : <a href="../-behaviour-context/index.html">BehaviourContext</a>, <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a><<a href="index.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><p class="paragraph">Default realization of <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a>. It uses <span data-unresolved-link="dev.inmo.tgbotapi.extensions.behaviour_builder/DefaultBehaviourContextWithFSM/behaviourContext/#/PointingToDeclaration/">behaviourContext</span> as a base for this object as <a href="../-behaviour-context/index.html">BehaviourContext</a>, but managing substates contexts updates for avoiding of updates lost between states</p></div></div>
|
||||
</div>
|
||||
<div class="tabbedcontent">
|
||||
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Constructors">Constructors</button><button class="section-tab" data-togglable="Functions">Functions</button><button class="section-tab" data-togglable="Properties">Properties</button></div>
|
||||
<div class="tabs-section-body">
|
||||
<h2 class="tabbedcontent">Constructors</h2>
|
||||
<div class="table" data-togglable="Constructors"><a data-name="-1356956078%2FConstructors%2F-1982836883" anchor-label="DefaultBehaviourContextWithFSM" id="-1356956078%2FConstructors%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table" data-togglable="Constructors"><a data-name="-306945268%2FConstructors%2F-1982836883" anchor-label="DefaultBehaviourContextWithFSM" id="-306945268%2FConstructors%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue TabbedContent">
|
||||
<div class=""><span class="inline-flex"><a href="-default-behaviour-context-with-f-s-m.html">DefaultBehaviourContextWithFSM</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1356956078%2FConstructors%2F-1982836883"></span>
|
||||
<div class=""><span class="inline-flex"><a href="-default-behaviour-context-with-f-s-m.html">DefaultBehaviourContextWithFSM</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-306945268%2FConstructors%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
@@ -40,7 +40,7 @@
|
||||
<div class="platform-tag common-like">common</div>
|
||||
</div>
|
||||
<div class="title">
|
||||
<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="-default-behaviour-context-with-f-s-m.html">DefaultBehaviourContextWithFSM</a>(behaviourContext: <a href="../-behaviour-context/index.html">BehaviourContext</a>, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span>, handlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="../-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</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 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="index.html">T</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="-default-behaviour-context-with-f-s-m.html">DefaultBehaviourContextWithFSM</a>(behaviourContext: <a href="../-behaviour-context/index.html">BehaviourContext</a>, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span><<a href="index.html">T</a>>, handlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="../-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*, <a href="index.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>
|
||||
@@ -80,7 +80,7 @@
|
||||
<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">open override fun <a href="copy.html">copy</a>(bot: <a href="../../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>, broadcastChannelsSize: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>, onBufferOverflow: <span data-unresolved-link="kotlinx.coroutines.channels/BufferOverflow///PointingToDeclaration/">BufferOverflow</span>, upstreamUpdatesFlow: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>>?, updatesFilter: <a href="../index.html#-1477624743%2FClasslikes%2F-1982836883">BehaviourContextAndTypeReceiver</a><<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>>?): <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</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 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">open override fun <a href="copy.html">copy</a>(bot: <a href="../../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>, broadcastChannelsSize: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>, onBufferOverflow: <span data-unresolved-link="kotlinx.coroutines.channels/BufferOverflow///PointingToDeclaration/">BufferOverflow</span>, upstreamUpdatesFlow: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>>?, updatesFilter: <a href="../index.html#-1477624743%2FClasslikes%2F-1982836883">BehaviourContextAndTypeReceiver</a><<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>>?): <a href="../-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a><<a href="index.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>
|
||||
@@ -107,10 +107,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a data-name="-1757161964%2FFunctions%2F-1982836883" anchor-label="handleState" id="-1757161964%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<a data-name="1077367194%2FFunctions%2F-1982836883" anchor-label="handleState" id="1077367194%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
<div class=""><span class="inline-flex"><a href="handle-state.html"><span>handle</span><wbr></wbr><span><span>State</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1757161964%2FFunctions%2F-1982836883"></span>
|
||||
<div class=""><span class="inline-flex"><a href="handle-state.html"><span>handle</span><wbr></wbr><span><span>State</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1077367194%2FFunctions%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
@@ -120,7 +120,27 @@
|
||||
<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">open suspend override fun <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesMachine///PointingToDeclaration/">StatesMachine</span>.<a href="handle-state.html">handleState</a>(state: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>): <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</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 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">open suspend override fun <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesMachine///PointingToDeclaration/">StatesMachine</span><in <a href="index.html">T</a>>.<a href="handle-state.html">handleState</a>(state: <a href="index.html">T</a>): <a href="index.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="-1355105410%2FFunctions%2F-1982836883" anchor-label="launchStateHandling" id="-1355105410%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
<div class=""><span class="inline-flex"><a href="../-behaviour-context-with-f-s-m-builder/index.html#-1320157902%2FFunctions%2F-1982836883"><span>launch</span><wbr></wbr><span>State</span><wbr></wbr><span><span>Handling</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1355105410%2FFunctions%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
<div class="platform-tags ">
|
||||
<div class="platform-tag common-like">common</div>
|
||||
</div>
|
||||
<div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
|
||||
|
||||
<div>
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">open suspend fun <a href="../-behaviour-context-with-f-s-m-builder/index.html#-1320157902%2FFunctions%2F-1982836883">launchStateHandling</a>(state: <a href="index.html">T</a>, handlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<span data-unresolved-link="dev.inmo.micro_utils.fsm.common/CustomizableHandlerHolder///PointingToDeclaration/">CustomizableHandlerHolder</span><in <a href="index.html">T</a>, <a href="index.html">T</a>>>): <a href="index.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 class="symbol monospace">open suspend fun <a href="../-behaviour-context-with-f-s-m/launch-state-handling.html">launchStateHandling</a>(state: <a href="index.html">T</a>, contextUpdatesFlow: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>>, handlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="../-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*, <a href="index.html">T</a>>>): <a href="index.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>
|
||||
@@ -147,10 +167,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a data-name="-6188396%2FFunctions%2F-1982836883" anchor-label="startChain" id="-6188396%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<a data-name="311466256%2FFunctions%2F-1982836883" anchor-label="startChain" id="311466256%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
<div class=""><span class="inline-flex"><a href="start-chain.html"><span>start</span><wbr></wbr><span><span>Chain</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-6188396%2FFunctions%2F-1982836883"></span>
|
||||
<div class=""><span class="inline-flex"><a href="start-chain.html"><span>start</span><wbr></wbr><span><span>Chain</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="311466256%2FFunctions%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
@@ -160,7 +180,7 @@
|
||||
<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">open suspend override fun <a href="start-chain.html">startChain</a>(state: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</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 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">open suspend override fun <a href="start-chain.html">startChain</a>(state: <a href="index.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>
|
||||
@@ -297,6 +317,22 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a data-name="-1991764523%2FProperties%2F-1982836883" anchor-label="chatJoinRequestUpdateFlow" id="-1991764523%2FProperties%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
<div class=""><span class="inline-flex"><a href="../../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/chat-join-request-update-flow.html">chatJoinRequestUpdateFlow</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1991764523%2FProperties%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
<div class="platform-tags ">
|
||||
<div class="platform-tag common-like">common</div>
|
||||
</div>
|
||||
<div class="title">
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted" data-togglable="Properties"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><a data-name="-1991764523%2FProperties%2F-1982836883" anchor-label="chatJoinRequestUpdateFlow" id="-1991764523%2FProperties%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a><div class="symbol monospace">open override val <a href="../../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/chat-join-request-update-flow.html">chatJoinRequestUpdateFlow</a>: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../../dev.inmo.tgbotapi.types.update/-chat-join-request-update/index.html">ChatJoinRequestUpdate</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>
|
||||
<a data-name="-105872013%2FProperties%2F-1982836883" anchor-label="chatMemberUpdatesFlow" id="-105872013%2FProperties%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
|
@@ -13,7 +13,7 @@
|
||||
</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/DefaultBehaviourContextWithFSM/startChain/#dev.inmo.micro_utils.fsm.common.State/PointingToDeclaration//-1982836883">
|
||||
<script type="text/javascript" src="../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder/DefaultBehaviourContextWithFSM/startChain/#TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])/PointingToDeclaration//-1982836883">
|
||||
<div class="navigation-wrapper" id="navigation-wrapper">
|
||||
<div class="breadcrumbs"><a href="../../../index.html">docs</a>/<a href="../index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="index.html">DefaultBehaviourContextWithFSM</a>/<a href="start-chain.html">startChain</a></div>
|
||||
<div class="pull-right d-flex">
|
||||
@@ -27,7 +27,7 @@
|
||||
<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">open suspend override fun <a href="start-chain.html">startChain</a>(state: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</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 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">open suspend override fun <a href="start-chain.html">startChain</a>(state: <a href="index.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>
|
||||
|
@@ -219,6 +219,22 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a data-name="-296599341%2FProperties%2F-1982836883" anchor-label="chatJoinRequestUpdateFlow" id="-296599341%2FProperties%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
<div class=""><span class="inline-flex"><a href="../../dev.inmo.tgbotapi.updateshandlers/-abstract-flows-updates-filter/chat-join-request-update-flow.html">chatJoinRequestUpdateFlow</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-296599341%2FProperties%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
<div class="platform-tags ">
|
||||
<div class="platform-tag common-like">common</div>
|
||||
</div>
|
||||
<div class="title">
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted" data-togglable="Properties"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><a data-name="-296599341%2FProperties%2F-1982836883" anchor-label="chatJoinRequestUpdateFlow" id="-296599341%2FProperties%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a><div class="symbol monospace">open override val <a href="../../dev.inmo.tgbotapi.updateshandlers/-abstract-flows-updates-filter/chat-join-request-update-flow.html">chatJoinRequestUpdateFlow</a>: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../../dev.inmo.tgbotapi.types.update/-chat-join-request-update/index.html">ChatJoinRequestUpdate</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>
|
||||
<a data-name="1410588529%2FProperties%2F-1982836883" anchor-label="chatMemberUpdatesFlow" id="1410588529%2FProperties%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
|
@@ -13,7 +13,7 @@
|
||||
</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//buildBehaviourWithFSMAndStartLongPolling/dev.inmo.tgbotapi.bot.RequestsExecutor#kotlinx.coroutines.flow.Flow[dev.inmo.tgbotapi.types.update.abstracts.Update]?#kotlinx.coroutines.CoroutineScope#kotlin.coroutines.SuspendFunction1[kotlin.Throwable,kotlin.Unit]?#dev.inmo.micro_utils.fsm.common.StatesManager#kotlin.collections.MutableList[dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourWithFSMStateHandlerHolder[*]]#kotlin.coroutines.SuspendFunction1[dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContextWithFSMBuilder,kotlin.Unit]/PointingToDeclaration//-1982836883">
|
||||
<script type="text/javascript" src="../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder//buildBehaviourWithFSMAndStartLongPolling/dev.inmo.tgbotapi.bot.RequestsExecutor#kotlinx.coroutines.flow.Flow[dev.inmo.tgbotapi.types.update.abstracts.Update]?#kotlinx.coroutines.CoroutineScope#kotlin.coroutines.SuspendFunction1[kotlin.Throwable,kotlin.Unit]?#dev.inmo.micro_utils.fsm.common.StatesManager[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]#kotlin.collections.MutableList[dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourWithFSMStateHandlerHolder[*,TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]]#kotlin.coroutines.SuspendFunction1[dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContextWithFSMBuilder[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])],kotlin.Unit]/PointingToDeclaration//-1982836883">
|
||||
<div class="navigation-wrapper" id="navigation-wrapper">
|
||||
<div class="breadcrumbs"><a href="../../index.html">docs</a>/<a href="index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="build-behaviour-with-f-s-m-and-start-long-polling.html">buildBehaviourWithFSMAndStartLongPolling</a></div>
|
||||
<div class="pull-right d-flex">
|
||||
@@ -27,13 +27,13 @@
|
||||
<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#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="build-behaviour-with-f-s-m-and-start-long-polling.html">buildBehaviourWithFSMAndStartLongPolling</a>(upstreamUpdatesFlow: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>>? = null, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span> = defaultCoroutineScopeProvider(), defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span> = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html">MutableList</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*>> = mutableListOf(), block: <a href="index.html#-1892390839%2FClasslikes%2F-1982836883">CustomBehaviourContextReceiver</a><<a href="-behaviour-context-with-f-s-m-builder/index.html">BehaviourContextWithFSMBuilder</a>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html">Pair</a><<a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a>, <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 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="build-behaviour-with-f-s-m-and-start-long-polling.html">T</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="build-behaviour-with-f-s-m-and-start-long-polling.html">buildBehaviourWithFSMAndStartLongPolling</a>(upstreamUpdatesFlow: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>>? = null, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span> = defaultCoroutineScopeProvider(), defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span><<a href="build-behaviour-with-f-s-m-and-start-long-polling.html">T</a>> = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html">MutableList</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*, <a href="build-behaviour-with-f-s-m-and-start-long-polling.html">T</a>>> = mutableListOf(), block: <a href="index.html#-1892390839%2FClasslikes%2F-1982836883">CustomBehaviourContextReceiver</a><<a href="-behaviour-context-with-f-s-m-builder/index.html">BehaviourContextWithFSMBuilder</a><<a href="build-behaviour-with-f-s-m-and-start-long-polling.html">T</a>>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html">Pair</a><<a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a><<a href="build-behaviour-with-f-s-m-and-start-long-polling.html">T</a>>, <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 <a href="build-behaviour-with-f-s-m.html">buildBehaviourWithFSM</a> to create <a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a> and launch getting of updates using <a href="../dev.inmo.tgbotapi.extensions.utils.updates.retrieving/long-polling.html">longPolling</a>. For <a href="../dev.inmo.tgbotapi.extensions.utils.updates.retrieving/long-polling.html">longPolling</a> will be used result <a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a> for both parameters flowsUpdatesFilter and scope</p></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#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="build-behaviour-with-f-s-m-and-start-long-polling.html">buildBehaviourWithFSMAndStartLongPolling</a>(scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span> = defaultCoroutineScopeProvider(), defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span> = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html">MutableList</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*>> = mutableListOf(), block: <a href="index.html#-1892390839%2FClasslikes%2F-1982836883">CustomBehaviourContextReceiver</a><<a href="-behaviour-context-with-f-s-m-builder/index.html">BehaviourContextWithFSMBuilder</a>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>): <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 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="build-behaviour-with-f-s-m-and-start-long-polling.html">T</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="build-behaviour-with-f-s-m-and-start-long-polling.html">buildBehaviourWithFSMAndStartLongPolling</a>(scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span> = defaultCoroutineScopeProvider(), defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span><<a href="build-behaviour-with-f-s-m-and-start-long-polling.html">T</a>> = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html">MutableList</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*, <a href="build-behaviour-with-f-s-m-and-start-long-polling.html">T</a>>> = mutableListOf(), block: <a href="index.html#-1892390839%2FClasslikes%2F-1982836883">CustomBehaviourContextReceiver</a><<a href="-behaviour-context-with-f-s-m-builder/index.html">BehaviourContextWithFSMBuilder</a><<a href="build-behaviour-with-f-s-m-and-start-long-polling.html">T</a>>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>): <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 <a href="build-behaviour-with-f-s-m.html">buildBehaviourWithFSM</a> to create <a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a> and launch getting of updates using <a href="../dev.inmo.tgbotapi.extensions.utils.updates.retrieving/long-polling.html">longPolling</a>. For <a href="../dev.inmo.tgbotapi.extensions.utils.updates.retrieving/long-polling.html">longPolling</a> will be used result <a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a> for both parameters flowsUpdatesFilter and scope</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-with-f-s-m-and-start-long-polling.html"><span>build</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span>With</span><wbr></wbr><span>FSMAnd</span><wbr></wbr><span>Start</span><wbr></wbr><span>Long</span><wbr></wbr><span><span>Polling</span></span></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"><span>dev.</span><wbr></wbr><span>inmo.</span><wbr></wbr><span>tgbotapi.</span><wbr></wbr><span>extensions.</span><wbr></wbr><span>behaviour_builder.</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span><span>Context</span></span></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/long-polling.html"><span>long</span><wbr></wbr><span><span>Polling</span></span></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-with-f-s-m-builder/on-state-or-substate.html"><span>dev.</span><wbr></wbr><span>inmo.</span><wbr></wbr><span>tgbotapi.</span><wbr></wbr><span>extensions.</span><wbr></wbr><span>behaviour_builder.</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span>Context</span><wbr></wbr><span>With</span><wbr></wbr><span><span>FSMBuilder</span></span></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>
|
||||
|
@@ -13,7 +13,7 @@
|
||||
</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//buildBehaviourWithFSM/dev.inmo.tgbotapi.bot.RequestsExecutor#kotlinx.coroutines.flow.Flow[dev.inmo.tgbotapi.types.update.abstracts.Update]?#kotlinx.coroutines.CoroutineScope#kotlin.coroutines.SuspendFunction1[kotlin.Throwable,kotlin.Unit]?#dev.inmo.micro_utils.fsm.common.StatesManager#kotlin.collections.MutableList[dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourWithFSMStateHandlerHolder[*]]#kotlin.coroutines.SuspendFunction1[dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContextWithFSMBuilder,kotlin.Unit]/PointingToDeclaration//-1982836883">
|
||||
<script type="text/javascript" src="../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder//buildBehaviourWithFSM/dev.inmo.tgbotapi.bot.RequestsExecutor#kotlinx.coroutines.flow.Flow[dev.inmo.tgbotapi.types.update.abstracts.Update]?#kotlinx.coroutines.CoroutineScope#kotlin.coroutines.SuspendFunction1[kotlin.Throwable,kotlin.Unit]?#dev.inmo.micro_utils.fsm.common.StatesManager[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]#kotlin.collections.MutableList[dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourWithFSMStateHandlerHolder[*,TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]]#kotlin.coroutines.SuspendFunction1[dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContextWithFSMBuilder[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])],kotlin.Unit]/PointingToDeclaration//-1982836883">
|
||||
<div class="navigation-wrapper" id="navigation-wrapper">
|
||||
<div class="breadcrumbs"><a href="../../index.html">docs</a>/<a href="index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="build-behaviour-with-f-s-m.html">buildBehaviourWithFSM</a></div>
|
||||
<div class="pull-right d-flex">
|
||||
@@ -27,13 +27,13 @@
|
||||
<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#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="build-behaviour-with-f-s-m.html">buildBehaviourWithFSM</a>(upstreamUpdatesFlow: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>>? = null, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span> = defaultCoroutineScopeProvider(), defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span> = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html">MutableList</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*>> = mutableListOf(), block: <a href="index.html#-1892390839%2FClasslikes%2F-1982836883">CustomBehaviourContextReceiver</a><<a href="-behaviour-context-with-f-s-m-builder/index.html">BehaviourContextWithFSMBuilder</a>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>): <a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</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 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="build-behaviour-with-f-s-m.html">T</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="build-behaviour-with-f-s-m.html">buildBehaviourWithFSM</a>(upstreamUpdatesFlow: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>>? = null, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span> = defaultCoroutineScopeProvider(), defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span><<a href="build-behaviour-with-f-s-m.html">T</a>> = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html">MutableList</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*, <a href="build-behaviour-with-f-s-m.html">T</a>>> = mutableListOf(), block: <a href="index.html#-1892390839%2FClasslikes%2F-1982836883">CustomBehaviourContextReceiver</a><<a href="-behaviour-context-with-f-s-m-builder/index.html">BehaviourContextWithFSMBuilder</a><<a href="build-behaviour-with-f-s-m.html">T</a>>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>): <a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a><<a href="build-behaviour-with-f-s-m.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 <a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a> via creating of <a href="-default-behaviour-context/index.html">DefaultBehaviourContext</a> with <span data-unresolved-link="dev.inmo.tgbotapi.extensions.behaviour_builder//&lt;this&gt;/#/PointingToCallableParameters(-1)/">this</span> as <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>, <a href="build-behaviour-with-f-s-m.html">scope</a> as target scope for that <a href="-default-behaviour-context/index.html">DefaultBehaviourContext</a> and <a href="build-behaviour-with-f-s-m.html">upstreamUpdatesFlow</a>. Pass <a href="build-behaviour-with-f-s-m.html">statesManager</a> to customize some internal logic of states changes. Pass <a href="build-behaviour-with-f-s-m.html">presetHandlers</a> in case you have some list of <a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a> with presets.</p><p class="paragraph">!!! WARNING !!! This method WILL NOT call <a href="-behaviour-context-with-f-s-m/start.html">BehaviourContextWithFSM.start</a> of result object and WILL NOT start any updates retrieving. See <a href="build-behaviour-with-f-s-m-and-start-long-polling.html">buildBehaviourWithFSMAndStartLongPolling</a> or <a href="telegram-bot-with-behaviour-and-f-s-m-and-start-long-polling.html">telegramBotWithBehaviourAndFSMAndStartLongPolling</a> in case you wish to start <a href="../dev.inmo.tgbotapi.extensions.utils.updates.retrieving/long-polling.html">longPolling</a> automatically</p></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#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="build-behaviour-with-f-s-m.html">buildBehaviourWithFSM</a>(flowUpdatesFilter: <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span> = defaultCoroutineScopeProvider(), defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span> = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html">MutableList</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*>> = mutableListOf(), block: <a href="index.html#-1892390839%2FClasslikes%2F-1982836883">CustomBehaviourContextReceiver</a><<a href="-behaviour-context-with-f-s-m-builder/index.html">BehaviourContextWithFSMBuilder</a>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>): <a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</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 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="build-behaviour-with-f-s-m.html">T</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="build-behaviour-with-f-s-m.html">buildBehaviourWithFSM</a>(flowUpdatesFilter: <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span> = defaultCoroutineScopeProvider(), defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span><<a href="build-behaviour-with-f-s-m.html">T</a>> = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html">MutableList</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*, <a href="build-behaviour-with-f-s-m.html">T</a>>> = mutableListOf(), block: <a href="index.html#-1892390839%2FClasslikes%2F-1982836883">CustomBehaviourContextReceiver</a><<a href="-behaviour-context-with-f-s-m-builder/index.html">BehaviourContextWithFSMBuilder</a><<a href="build-behaviour-with-f-s-m.html">T</a>>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>): <a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a><<a href="build-behaviour-with-f-s-m.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 <a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a> via creating of <a href="-default-behaviour-context/index.html">DefaultBehaviourContext</a> with <span data-unresolved-link="dev.inmo.tgbotapi.extensions.behaviour_builder//&lt;this&gt;/#/PointingToCallableParameters(-1)/">this</span> as <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>, <a href="build-behaviour-with-f-s-m.html">scope</a> as target scope for that <a href="-default-behaviour-context/index.html">DefaultBehaviourContext</a> and <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/all-updates-flow.html">FlowsUpdatesFilter.allUpdatesFlow</a> of <a href="build-behaviour-with-f-s-m.html">flowUpdatesFilter</a> as <span data-unresolved-link="dev.inmo.tgbotapi.extensions.behaviour_builder/DefaultBehaviourContext/upstreamUpdatesFlow/#/PointingToDeclaration/">DefaultBehaviourContext.upstreamUpdatesFlow</span>. Pass <a href="build-behaviour-with-f-s-m.html">statesManager</a> to customize some internal logic of states changes. Pass <a href="build-behaviour-with-f-s-m.html">presetHandlers</a> in case you have some list of <a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a> with presets. Use this method in case you wish to make some additional actions with <a href="build-behaviour-with-f-s-m.html">flowUpdatesFilter</a>.</p><p class="paragraph">!!! WARNING !!! This method WILL NOT call <a href="-behaviour-context-with-f-s-m/start.html">BehaviourContextWithFSM.start</a> of result object and WILL NOT start any updates retrieving. See <a href="build-behaviour-with-f-s-m-and-start-long-polling.html">buildBehaviourWithFSMAndStartLongPolling</a> or <a href="telegram-bot-with-behaviour-and-f-s-m-and-start-long-polling.html">telegramBotWithBehaviourAndFSMAndStartLongPolling</a> in case you wish to start <a href="../dev.inmo.tgbotapi.extensions.utils.updates.retrieving/long-polling.html">longPolling</a> automatically</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"><span>dev.</span><wbr></wbr><span>inmo.</span><wbr></wbr><span>tgbotapi.</span><wbr></wbr><span>extensions.</span><wbr></wbr><span>behaviour_builder.</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span><span>Context</span></span></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-with-f-s-m/index.html"><span>dev.</span><wbr></wbr><span>inmo.</span><wbr></wbr><span>tgbotapi.</span><wbr></wbr><span>extensions.</span><wbr></wbr><span>behaviour_builder.</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span>Context</span><wbr></wbr><span>With</span><wbr></wbr><span><span>FSM</span></span></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/long-polling.html"><span>long</span><wbr></wbr><span><span>Polling</span></span></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-with-f-s-m-builder/on-state-or-substate.html"><span>dev.</span><wbr></wbr><span>inmo.</span><wbr></wbr><span>tgbotapi.</span><wbr></wbr><span>extensions.</span><wbr></wbr><span>behaviour_builder.</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span>Context</span><wbr></wbr><span>With</span><wbr></wbr><span><span>FSMBuilder</span></span></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>
|
||||
|
@@ -27,7 +27,7 @@
|
||||
<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#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="build-behaviour.html">buildBehaviour</a>(flowUpdatesFilter: <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span> = defaultCoroutineScopeProvider(), defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, block: <a href="index.html#1125173050%2FClasslikes%2F-1982836883">BehaviourContextReceiver</a><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
|
||||
<div 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#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="build-behaviour.html">buildBehaviour</a>(flowUpdatesFilter: <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a> = FlowsUpdatesFilter(), scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span> = defaultCoroutineScopeProvider(), defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, block: <a href="index.html#1125173050%2FClasslikes%2F-1982836883">BehaviourContextReceiver</a><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
|
||||
</div>
|
||||
<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"><strong>WARNING</strong> 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"><span>dev.</span><wbr></wbr><span>inmo.</span><wbr></wbr><span>tgbotapi.</span><wbr></wbr><span>extensions.</span><wbr></wbr><span>behaviour_builder.</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span><span>Context</span></span></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"><span>start</span><wbr></wbr><span>Getting</span><wbr></wbr><span>Of</span><wbr></wbr><span>Updates</span><wbr></wbr><span>By</span><wbr></wbr><span>Long</span><wbr></wbr><span><span>Polling</span></span></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>
|
||||
|
@@ -121,7 +121,7 @@
|
||||
<div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
|
||||
|
||||
<div>
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">interface <a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a> : <a href="-behaviour-context/index.html">BehaviourContext</a>, <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesMachine///PointingToDeclaration/">StatesMachine</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 class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">interface <a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a><<a href="-behaviour-context-with-f-s-m/index.html">T</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> : <a href="-behaviour-context/index.html">BehaviourContext</a>, <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesMachine///PointingToDeclaration/">StatesMachine</span><<a href="-behaviour-context-with-f-s-m/index.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 class="brief "><p class="paragraph">Interface which combine <a href="-behaviour-context/index.html">BehaviourContext</a> and <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesMachine///PointingToDeclaration/">StatesMachine</span>. Subcontext of triggers and states contexts must have one common flow of updates and must not lose updates between updates</p></div></div>
|
||||
</div>
|
||||
@@ -141,7 +141,7 @@
|
||||
<div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
|
||||
|
||||
<div>
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">class <a href="-behaviour-context-with-f-s-m-builder/index.html">BehaviourContextWithFSMBuilder</a> : <a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</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 class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">class <a href="-behaviour-context-with-f-s-m-builder/index.html">BehaviourContextWithFSMBuilder</a><<a href="-behaviour-context-with-f-s-m-builder/index.html">T</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> : <a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a><<a href="-behaviour-context-with-f-s-m-builder/index.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>
|
||||
@@ -161,7 +161,7 @@
|
||||
<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 interface <a href="-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><<a href="-behaviour-with-f-s-m-state-handler/index.html">T</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</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 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 interface <a href="-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><<a href="-behaviour-with-f-s-m-state-handler/index.html">I</a> : <a href="-behaviour-with-f-s-m-state-handler/index.html">O</a>, <a href="-behaviour-with-f-s-m-state-handler/index.html">O</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</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>
|
||||
</div>
|
||||
</div>
|
||||
@@ -181,7 +181,7 @@
|
||||
<div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
|
||||
|
||||
<div>
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">class <a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">I</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>>(inputKlass: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">I</a>>, strict: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>, delegateTo: <a href="-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">I</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 class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">class <a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">I</a> : <a href="-behaviour-with-f-s-m-state-handler-holder/index.html">O</a>, <a href="-behaviour-with-f-s-m-state-handler-holder/index.html">O</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>>(inputKlass: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">I</a>>, strict: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>, delegateTo: <a href="-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">I</a>, <a href="-behaviour-with-f-s-m-state-handler-holder/index.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 class="brief "><p class="paragraph">Special holder for <a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a>. This holder helps <a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a> to understand whether it can handle input <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span> with <span data-unresolved-link="dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourWithFSMStateHandlerHolder/delegateTo/#/PointingToDeclaration/">delegateTo</span> or not</p></div></div>
|
||||
</div>
|
||||
@@ -281,7 +281,7 @@
|
||||
<div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
|
||||
|
||||
<div>
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">class <a href="-default-behaviour-context-with-f-s-m/index.html">DefaultBehaviourContextWithFSM</a>(behaviourContext: <a href="-behaviour-context/index.html">BehaviourContext</a>, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span>, handlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*>>) : <a href="-behaviour-context/index.html">BehaviourContext</a>, <a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</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 class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">class <a href="-default-behaviour-context-with-f-s-m/index.html">DefaultBehaviourContextWithFSM</a><<a href="-default-behaviour-context-with-f-s-m/index.html">T</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>>(behaviourContext: <a href="-behaviour-context/index.html">BehaviourContext</a>, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span><<a href="-default-behaviour-context-with-f-s-m/index.html">T</a>>, handlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*, <a href="-default-behaviour-context-with-f-s-m/index.html">T</a>>>) : <a href="-behaviour-context/index.html">BehaviourContext</a>, <a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a><<a href="-default-behaviour-context-with-f-s-m/index.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 class="brief "><p class="paragraph">Default realization of <a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a>. It uses <span data-unresolved-link="dev.inmo.tgbotapi.extensions.behaviour_builder/DefaultBehaviourContextWithFSM/behaviourContext/#/PointingToDeclaration/">behaviourContext</span> as a base for this object as <a href="-behaviour-context/index.html">BehaviourContext</a>, but managing substates contexts updates for avoiding of updates lost between states</p></div></div>
|
||||
</div>
|
||||
@@ -386,6 +386,26 @@
|
||||
<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 <<a href="-behaviour-context-receiver.html">T</a>> <a href="-behaviour-context-receiver.html">BehaviourContextReceiver</a>(noinline block: <a href="index.html#1125173050%2FClasslikes%2F-1982836883">BehaviourContextReceiver</a><<a href="-behaviour-context-receiver.html">T</a>>): suspend <a href="-behaviour-context/index.html">BehaviourContext</a>.() -> <a href="-behaviour-context-receiver.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="-70742833%2FFunctions%2F-1982836883" anchor-label="BehaviourWithFSMStateHandlerHolder" id="-70742833%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
<div class=""><span class="inline-flex"><a href="-behaviour-with-f-s-m-state-handler-holder.html"><span>Behaviour</span><wbr></wbr><span>With</span><wbr></wbr><span>FSMState</span><wbr></wbr><span>Handler</span><wbr></wbr><span><span>Holder</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-70742833%2FFunctions%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
<div class="platform-tags ">
|
||||
<div class="platform-tag common-like">common</div>
|
||||
</div>
|
||||
<div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
|
||||
|
||||
<div>
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">inline fun <<a href="-behaviour-with-f-s-m-state-handler-holder.html">I</a> : <a href="-behaviour-with-f-s-m-state-handler-holder.html">O</a>, <a href="-behaviour-with-f-s-m-state-handler-holder.html">O</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="-behaviour-with-f-s-m-state-handler-holder.html">BehaviourWithFSMStateHandlerHolder</a>(strict: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false, delegateTo: <a href="-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><<a href="-behaviour-with-f-s-m-state-handler-holder.html">I</a>, <a href="-behaviour-with-f-s-m-state-handler-holder.html">O</a>>): <a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><<a href="-behaviour-with-f-s-m-state-handler-holder.html">I</a>, <a href="-behaviour-with-f-s-m-state-handler-holder.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>
|
||||
@@ -403,17 +423,17 @@
|
||||
<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#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="build-behaviour.html">buildBehaviour</a>(flowUpdatesFilter: <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span> = defaultCoroutineScopeProvider(), defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, block: <a href="index.html#1125173050%2FClasslikes%2F-1982836883">BehaviourContextReceiver</a><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
|
||||
<div 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#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="build-behaviour.html">buildBehaviour</a>(flowUpdatesFilter: <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a> = FlowsUpdatesFilter(), scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span> = defaultCoroutineScopeProvider(), defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, block: <a href="index.html#1125173050%2FClasslikes%2F-1982836883">BehaviourContextReceiver</a><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
|
||||
</div>
|
||||
<div class="brief "><p class="paragraph">Use this method in case you wish to make some additional actions with <a href="build-behaviour.html">flowUpdatesFilter</a>.</p></div></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a data-name="1219220751%2FFunctions%2F-1982836883" anchor-label="buildBehaviourWithFSM" id="1219220751%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<a data-name="-983643505%2FFunctions%2F-1982836883" anchor-label="buildBehaviourWithFSM" id="-983643505%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
<div class=""><span class="inline-flex"><a href="build-behaviour-with-f-s-m.html"><span>build</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span>With</span><wbr></wbr><span><span>FSM</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1219220751%2FFunctions%2F-1982836883"></span>
|
||||
<div class=""><span class="inline-flex"><a href="build-behaviour-with-f-s-m.html"><span>build</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span>With</span><wbr></wbr><span><span>FSM</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-983643505%2FFunctions%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
@@ -423,23 +443,23 @@
|
||||
<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#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="build-behaviour-with-f-s-m.html">buildBehaviourWithFSM</a>(flowUpdatesFilter: <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span> = defaultCoroutineScopeProvider(), defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span> = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html">MutableList</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*>> = mutableListOf(), block: <a href="index.html#-1892390839%2FClasslikes%2F-1982836883">CustomBehaviourContextReceiver</a><<a href="-behaviour-context-with-f-s-m-builder/index.html">BehaviourContextWithFSMBuilder</a>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>): <a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</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 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="build-behaviour-with-f-s-m.html">T</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="build-behaviour-with-f-s-m.html">buildBehaviourWithFSM</a>(flowUpdatesFilter: <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span> = defaultCoroutineScopeProvider(), defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span><<a href="build-behaviour-with-f-s-m.html">T</a>> = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html">MutableList</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*, <a href="build-behaviour-with-f-s-m.html">T</a>>> = mutableListOf(), block: <a href="index.html#-1892390839%2FClasslikes%2F-1982836883">CustomBehaviourContextReceiver</a><<a href="-behaviour-context-with-f-s-m-builder/index.html">BehaviourContextWithFSMBuilder</a><<a href="build-behaviour-with-f-s-m.html">T</a>>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>): <a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a><<a href="build-behaviour-with-f-s-m.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 class="brief "><p class="paragraph">Creates <a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a> via creating of <a href="-default-behaviour-context/index.html">DefaultBehaviourContext</a> with <span data-unresolved-link="dev.inmo.tgbotapi.extensions.behaviour_builder//&lt;this&gt;/#/PointingToCallableParameters(-1)/">this</span> as <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>, <a href="build-behaviour-with-f-s-m.html">scope</a> as target scope for that <a href="-default-behaviour-context/index.html">DefaultBehaviourContext</a> and <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/all-updates-flow.html">FlowsUpdatesFilter.allUpdatesFlow</a> of <a href="build-behaviour-with-f-s-m.html">flowUpdatesFilter</a> as <span data-unresolved-link="dev.inmo.tgbotapi.extensions.behaviour_builder/DefaultBehaviourContext/upstreamUpdatesFlow/#/PointingToDeclaration/">DefaultBehaviourContext.upstreamUpdatesFlow</span>. Pass <a href="build-behaviour-with-f-s-m.html">statesManager</a> to customize some internal logic of states changes. Pass <a href="build-behaviour-with-f-s-m.html">presetHandlers</a> in case you have some list of <a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a> with presets. Use this method in case you wish to make some additional actions with <a href="build-behaviour-with-f-s-m.html">flowUpdatesFilter</a>.</p></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#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="build-behaviour-with-f-s-m.html">buildBehaviourWithFSM</a>(upstreamUpdatesFlow: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>>? = null, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span> = defaultCoroutineScopeProvider(), defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span> = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html">MutableList</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*>> = mutableListOf(), block: <a href="index.html#-1892390839%2FClasslikes%2F-1982836883">CustomBehaviourContextReceiver</a><<a href="-behaviour-context-with-f-s-m-builder/index.html">BehaviourContextWithFSMBuilder</a>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>): <a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</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 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="build-behaviour-with-f-s-m.html">T</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="build-behaviour-with-f-s-m.html">buildBehaviourWithFSM</a>(upstreamUpdatesFlow: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>>? = null, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span> = defaultCoroutineScopeProvider(), defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span><<a href="build-behaviour-with-f-s-m.html">T</a>> = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html">MutableList</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*, <a href="build-behaviour-with-f-s-m.html">T</a>>> = mutableListOf(), block: <a href="index.html#-1892390839%2FClasslikes%2F-1982836883">CustomBehaviourContextReceiver</a><<a href="-behaviour-context-with-f-s-m-builder/index.html">BehaviourContextWithFSMBuilder</a><<a href="build-behaviour-with-f-s-m.html">T</a>>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>): <a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a><<a href="build-behaviour-with-f-s-m.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 class="brief "><p class="paragraph">Creates <a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a> via creating of <a href="-default-behaviour-context/index.html">DefaultBehaviourContext</a> with <span data-unresolved-link="dev.inmo.tgbotapi.extensions.behaviour_builder//&lt;this&gt;/#/PointingToCallableParameters(-1)/">this</span> as <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>, <a href="build-behaviour-with-f-s-m.html">scope</a> as target scope for that <a href="-default-behaviour-context/index.html">DefaultBehaviourContext</a> and <a href="build-behaviour-with-f-s-m.html">upstreamUpdatesFlow</a>. Pass <a href="build-behaviour-with-f-s-m.html">statesManager</a> to customize some internal logic of states changes. Pass <a href="build-behaviour-with-f-s-m.html">presetHandlers</a> in case you have some list of <a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a> with presets.</p></div></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a data-name="1724174918%2FFunctions%2F-1982836883" anchor-label="buildBehaviourWithFSMAndStartLongPolling" id="1724174918%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<a data-name="-1403245154%2FFunctions%2F-1982836883" anchor-label="buildBehaviourWithFSMAndStartLongPolling" id="-1403245154%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
<div class=""><span class="inline-flex"><a href="build-behaviour-with-f-s-m-and-start-long-polling.html"><span>build</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span>With</span><wbr></wbr><span>FSMAnd</span><wbr></wbr><span>Start</span><wbr></wbr><span>Long</span><wbr></wbr><span><span>Polling</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1724174918%2FFunctions%2F-1982836883"></span>
|
||||
<div class=""><span class="inline-flex"><a href="build-behaviour-with-f-s-m-and-start-long-polling.html"><span>build</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span>With</span><wbr></wbr><span>FSMAnd</span><wbr></wbr><span>Start</span><wbr></wbr><span>Long</span><wbr></wbr><span><span>Polling</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1403245154%2FFunctions%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
@@ -449,7 +469,7 @@
|
||||
<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#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="build-behaviour-with-f-s-m-and-start-long-polling.html">buildBehaviourWithFSMAndStartLongPolling</a>(scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span> = defaultCoroutineScopeProvider(), defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span> = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html">MutableList</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*>> = mutableListOf(), block: <a href="index.html#-1892390839%2FClasslikes%2F-1982836883">CustomBehaviourContextReceiver</a><<a href="-behaviour-context-with-f-s-m-builder/index.html">BehaviourContextWithFSMBuilder</a>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>): <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 class="symbol monospace">suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="build-behaviour-with-f-s-m-and-start-long-polling.html">buildBehaviourWithFSMAndStartLongPolling</a>(upstreamUpdatesFlow: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>>? = null, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span> = defaultCoroutineScopeProvider(), defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span> = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html">MutableList</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*>> = mutableListOf(), block: <a href="index.html#-1892390839%2FClasslikes%2F-1982836883">CustomBehaviourContextReceiver</a><<a href="-behaviour-context-with-f-s-m-builder/index.html">BehaviourContextWithFSMBuilder</a>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html">Pair</a><<a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a>, <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 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="build-behaviour-with-f-s-m-and-start-long-polling.html">T</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="build-behaviour-with-f-s-m-and-start-long-polling.html">buildBehaviourWithFSMAndStartLongPolling</a>(scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span> = defaultCoroutineScopeProvider(), defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span><<a href="build-behaviour-with-f-s-m-and-start-long-polling.html">T</a>> = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html">MutableList</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*, <a href="build-behaviour-with-f-s-m-and-start-long-polling.html">T</a>>> = mutableListOf(), block: <a href="index.html#-1892390839%2FClasslikes%2F-1982836883">CustomBehaviourContextReceiver</a><<a href="-behaviour-context-with-f-s-m-builder/index.html">BehaviourContextWithFSMBuilder</a><<a href="build-behaviour-with-f-s-m-and-start-long-polling.html">T</a>>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>): <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 class="symbol monospace">suspend fun <<a href="build-behaviour-with-f-s-m-and-start-long-polling.html">T</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="build-behaviour-with-f-s-m-and-start-long-polling.html">buildBehaviourWithFSMAndStartLongPolling</a>(upstreamUpdatesFlow: <span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<a href="../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>>? = null, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span> = defaultCoroutineScopeProvider(), defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span><<a href="build-behaviour-with-f-s-m-and-start-long-polling.html">T</a>> = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html">MutableList</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*, <a href="build-behaviour-with-f-s-m-and-start-long-polling.html">T</a>>> = mutableListOf(), block: <a href="index.html#-1892390839%2FClasslikes%2F-1982836883">CustomBehaviourContextReceiver</a><<a href="-behaviour-context-with-f-s-m-builder/index.html">BehaviourContextWithFSMBuilder</a><<a href="build-behaviour-with-f-s-m-and-start-long-polling.html">T</a>>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html">Pair</a><<a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a><<a href="build-behaviour-with-f-s-m-and-start-long-polling.html">T</a>>, <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>
|
||||
<div class="brief "><p class="paragraph">Use <a href="build-behaviour-with-f-s-m.html">buildBehaviourWithFSM</a> to create <a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a> and launch getting of updates using <a href="../dev.inmo.tgbotapi.extensions.utils.updates.retrieving/long-polling.html">longPolling</a>. For <a href="../dev.inmo.tgbotapi.extensions.utils.updates.retrieving/long-polling.html">longPolling</a> will be used result <a href="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a> for both parameters flowsUpdatesFilter and scope</p></div></div>
|
||||
</div>
|
||||
@@ -629,17 +649,17 @@
|
||||
<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="telegram-bot-with-behaviour.html">telegramBotWithBehaviour</a>(token: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, flowsUpdatesFilter: <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>? = null, apiUrl: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a> = telegramBotAPIDefaultUrl, builder: <a href="../dev.inmo.tgbotapi.bot.Ktor/-ktor-requests-executor-builder/index.html">KtorRequestsExecutorBuilder</a>.() -> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a> = {}, defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, block: <a href="index.html#1125173050%2FClasslikes%2F-1982836883">BehaviourContextReceiver</a><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>): <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">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 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="telegram-bot-with-behaviour.html">telegramBotWithBehaviour</a>(token: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, flowsUpdatesFilter: <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a> = FlowsUpdatesFilter(), scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>? = null, apiUrl: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a> = telegramBotAPIDefaultUrl, builder: <a href="../dev.inmo.tgbotapi.bot.Ktor/-ktor-requests-executor-builder/index.html">KtorRequestsExecutorBuilder</a>.() -> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a> = {}, defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, block: <a href="index.html#1125173050%2FClasslikes%2F-1982836883">BehaviourContextReceiver</a><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>): <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">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 class="brief "><p class="paragraph">Create bot using <a href="../dev.inmo.tgbotapi.bot.Ktor/telegram-bot.html">telegramBot</a> and start listening for updates using <a href="build-behaviour.html">buildBehaviour</a>. Use this method in case you wish to make some additional actions with <a href="telegram-bot-with-behaviour.html">flowsUpdatesFilter</a>.</p></div></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a data-name="-565830474%2FFunctions%2F-1982836883" anchor-label="telegramBotWithBehaviourAndFSM" id="-565830474%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<a data-name="-2102926494%2FFunctions%2F-1982836883" anchor-label="telegramBotWithBehaviourAndFSM" id="-2102926494%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
<div class=""><span class="inline-flex"><a href="telegram-bot-with-behaviour-and-f-s-m.html"><span>telegram</span><wbr></wbr><span>Bot</span><wbr></wbr><span>With</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span>And</span><wbr></wbr><span><span>FSM</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-565830474%2FFunctions%2F-1982836883"></span>
|
||||
<div class=""><span class="inline-flex"><a href="telegram-bot-with-behaviour-and-f-s-m.html"><span>telegram</span><wbr></wbr><span>Bot</span><wbr></wbr><span>With</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span>And</span><wbr></wbr><span><span>FSM</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2102926494%2FFunctions%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
@@ -649,17 +669,17 @@
|
||||
<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="telegram-bot-with-behaviour-and-f-s-m.html">telegramBotWithBehaviourAndFSM</a>(token: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, flowsUpdatesFilter: <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>? = null, apiUrl: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a> = telegramBotAPIDefaultUrl, builder: <a href="../dev.inmo.tgbotapi.bot.Ktor/-ktor-requests-executor-builder/index.html">KtorRequestsExecutorBuilder</a>.() -> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a> = {}, defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span> = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html">MutableList</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*>> = mutableListOf(), block: <a href="index.html#-1892390839%2FClasslikes%2F-1982836883">CustomBehaviourContextReceiver</a><<a href="-behaviour-context-with-f-s-m-builder/index.html">BehaviourContextWithFSMBuilder</a>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>): <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">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 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="telegram-bot-with-behaviour-and-f-s-m.html">T</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="telegram-bot-with-behaviour-and-f-s-m.html">telegramBotWithBehaviourAndFSM</a>(token: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, flowsUpdatesFilter: <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>? = null, apiUrl: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a> = telegramBotAPIDefaultUrl, builder: <a href="../dev.inmo.tgbotapi.bot.Ktor/-ktor-requests-executor-builder/index.html">KtorRequestsExecutorBuilder</a>.() -> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a> = {}, defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span><<a href="telegram-bot-with-behaviour-and-f-s-m.html">T</a>> = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html">MutableList</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*, <a href="telegram-bot-with-behaviour-and-f-s-m.html">T</a>>> = mutableListOf(), block: <a href="index.html#-1892390839%2FClasslikes%2F-1982836883">CustomBehaviourContextReceiver</a><<a href="-behaviour-context-with-f-s-m-builder/index.html">BehaviourContextWithFSMBuilder</a><<a href="telegram-bot-with-behaviour-and-f-s-m.html">T</a>>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>): <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">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 class="brief "><p class="paragraph">Create bot using <a href="../dev.inmo.tgbotapi.bot.Ktor/telegram-bot.html">telegramBot</a> and start listening for updates using <a href="build-behaviour-with-f-s-m.html">buildBehaviourWithFSM</a>. Use this method in case you wish to make some additional actions with <a href="telegram-bot-with-behaviour-and-f-s-m.html">flowsUpdatesFilter</a>.</p></div></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a data-name="1177464057%2FFunctions%2F-1982836883" anchor-label="telegramBotWithBehaviourAndFSMAndStartLongPolling" id="1177464057%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<a data-name="1095537061%2FFunctions%2F-1982836883" anchor-label="telegramBotWithBehaviourAndFSMAndStartLongPolling" id="1095537061%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
||||
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
||||
<div class="main-subrow keyValue ">
|
||||
<div class=""><span class="inline-flex"><a href="telegram-bot-with-behaviour-and-f-s-m-and-start-long-polling.html"><span>telegram</span><wbr></wbr><span>Bot</span><wbr></wbr><span>With</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span>And</span><wbr></wbr><span>FSMAnd</span><wbr></wbr><span>Start</span><wbr></wbr><span>Long</span><wbr></wbr><span><span>Polling</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1177464057%2FFunctions%2F-1982836883"></span>
|
||||
<div class=""><span class="inline-flex"><a href="telegram-bot-with-behaviour-and-f-s-m-and-start-long-polling.html"><span>telegram</span><wbr></wbr><span>Bot</span><wbr></wbr><span>With</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span>And</span><wbr></wbr><span>FSMAnd</span><wbr></wbr><span>Start</span><wbr></wbr><span>Long</span><wbr></wbr><span><span>Polling</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1095537061%2FFunctions%2F-1982836883"></span>
|
||||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
||||
</span></span></div>
|
||||
<div>
|
||||
@@ -669,7 +689,7 @@
|
||||
<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="telegram-bot-with-behaviour-and-f-s-m-and-start-long-polling.html">telegramBotWithBehaviourAndFSMAndStartLongPolling</a>(token: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>? = null, apiUrl: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a> = telegramBotAPIDefaultUrl, builder: <a href="../dev.inmo.tgbotapi.bot.Ktor/-ktor-requests-executor-builder/index.html">KtorRequestsExecutorBuilder</a>.() -> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a> = {}, defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span> = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html">MutableList</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*>> = mutableListOf(), block: <a href="index.html#-1892390839%2FClasslikes%2F-1982836883">CustomBehaviourContextReceiver</a><<a href="-behaviour-context-with-f-s-m-builder/index.html">BehaviourContextWithFSMBuilder</a>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html">Pair</a><<a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>, <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 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="telegram-bot-with-behaviour-and-f-s-m-and-start-long-polling.html">T</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="telegram-bot-with-behaviour-and-f-s-m-and-start-long-polling.html">telegramBotWithBehaviourAndFSMAndStartLongPolling</a>(token: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>? = null, apiUrl: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a> = telegramBotAPIDefaultUrl, builder: <a href="../dev.inmo.tgbotapi.bot.Ktor/-ktor-requests-executor-builder/index.html">KtorRequestsExecutorBuilder</a>.() -> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a> = {}, defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span><<a href="telegram-bot-with-behaviour-and-f-s-m-and-start-long-polling.html">T</a>> = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html">MutableList</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*, <a href="telegram-bot-with-behaviour-and-f-s-m-and-start-long-polling.html">T</a>>> = mutableListOf(), block: <a href="index.html#-1892390839%2FClasslikes%2F-1982836883">CustomBehaviourContextReceiver</a><<a href="-behaviour-context-with-f-s-m-builder/index.html">BehaviourContextWithFSMBuilder</a><<a href="telegram-bot-with-behaviour-and-f-s-m-and-start-long-polling.html">T</a>>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html">Pair</a><<a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>, <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>
|
||||
<div class="brief "><p class="paragraph">Create bot using <a href="../dev.inmo.tgbotapi.bot.Ktor/telegram-bot.html">telegramBot</a> and start listening for updates using <a href="build-behaviour-with-f-s-m-and-start-long-polling.html">buildBehaviourWithFSMAndStartLongPolling</a>. This method will launch updates retrieving via long polling inside of <a href="build-behaviour-with-f-s-m-and-start-long-polling.html">buildBehaviourWithFSMAndStartLongPolling</a></p></div></div>
|
||||
</div>
|
||||
|
@@ -13,7 +13,7 @@
|
||||
</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//telegramBotWithBehaviourAndFSMAndStartLongPolling/#kotlin.String#kotlinx.coroutines.CoroutineScope?#kotlin.String#kotlin.Function1[dev.inmo.tgbotapi.bot.Ktor.KtorRequestsExecutorBuilder,kotlin.Unit]#kotlin.coroutines.SuspendFunction1[kotlin.Throwable,kotlin.Unit]?#dev.inmo.micro_utils.fsm.common.StatesManager#kotlin.collections.MutableList[dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourWithFSMStateHandlerHolder[*]]#kotlin.coroutines.SuspendFunction1[dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContextWithFSMBuilder,kotlin.Unit]/PointingToDeclaration//-1982836883">
|
||||
<script type="text/javascript" src="../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder//telegramBotWithBehaviourAndFSMAndStartLongPolling/#kotlin.String#kotlinx.coroutines.CoroutineScope?#kotlin.String#kotlin.Function1[dev.inmo.tgbotapi.bot.Ktor.KtorRequestsExecutorBuilder,kotlin.Unit]#kotlin.coroutines.SuspendFunction1[kotlin.Throwable,kotlin.Unit]?#dev.inmo.micro_utils.fsm.common.StatesManager[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]#kotlin.collections.MutableList[dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourWithFSMStateHandlerHolder[*,TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]]#kotlin.coroutines.SuspendFunction1[dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContextWithFSMBuilder[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])],kotlin.Unit]/PointingToDeclaration//-1982836883">
|
||||
<div class="navigation-wrapper" id="navigation-wrapper">
|
||||
<div class="breadcrumbs"><a href="../../index.html">docs</a>/<a href="index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="telegram-bot-with-behaviour-and-f-s-m-and-start-long-polling.html">telegramBotWithBehaviourAndFSMAndStartLongPolling</a></div>
|
||||
<div class="pull-right d-flex">
|
||||
@@ -27,7 +27,7 @@
|
||||
<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="telegram-bot-with-behaviour-and-f-s-m-and-start-long-polling.html">telegramBotWithBehaviourAndFSMAndStartLongPolling</a>(token: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>? = null, apiUrl: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a> = telegramBotAPIDefaultUrl, builder: <a href="../dev.inmo.tgbotapi.bot.Ktor/-ktor-requests-executor-builder/index.html">KtorRequestsExecutorBuilder</a>.() -> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a> = {}, defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span> = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html">MutableList</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*>> = mutableListOf(), block: <a href="index.html#-1892390839%2FClasslikes%2F-1982836883">CustomBehaviourContextReceiver</a><<a href="-behaviour-context-with-f-s-m-builder/index.html">BehaviourContextWithFSMBuilder</a>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html">Pair</a><<a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>, <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 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="telegram-bot-with-behaviour-and-f-s-m-and-start-long-polling.html">T</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="telegram-bot-with-behaviour-and-f-s-m-and-start-long-polling.html">telegramBotWithBehaviourAndFSMAndStartLongPolling</a>(token: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>? = null, apiUrl: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a> = telegramBotAPIDefaultUrl, builder: <a href="../dev.inmo.tgbotapi.bot.Ktor/-ktor-requests-executor-builder/index.html">KtorRequestsExecutorBuilder</a>.() -> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a> = {}, defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span><<a href="telegram-bot-with-behaviour-and-f-s-m-and-start-long-polling.html">T</a>> = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html">MutableList</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*, <a href="telegram-bot-with-behaviour-and-f-s-m-and-start-long-polling.html">T</a>>> = mutableListOf(), block: <a href="index.html#-1892390839%2FClasslikes%2F-1982836883">CustomBehaviourContextReceiver</a><<a href="-behaviour-context-with-f-s-m-builder/index.html">BehaviourContextWithFSMBuilder</a><<a href="telegram-bot-with-behaviour-and-f-s-m-and-start-long-polling.html">T</a>>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html">Pair</a><<a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>, <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">Create bot using <a href="../dev.inmo.tgbotapi.bot.Ktor/telegram-bot.html">telegramBot</a> and start listening for updates using <a href="build-behaviour-with-f-s-m-and-start-long-polling.html">buildBehaviourWithFSMAndStartLongPolling</a>. This method will launch updates retrieving via long polling inside of <a href="build-behaviour-with-f-s-m-and-start-long-polling.html">buildBehaviourWithFSMAndStartLongPolling</a></p><h4 class="">Return</h4><p class="paragraph">Pair of <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a> and <span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span>. This <span data-unresolved-link="kotlinx.coroutines/Job///PointingToDeclaration/">Job</span> can be used to stop listening updates in your <a href="telegram-bot-with-behaviour-and-f-s-m-and-start-long-polling.html">block</a> you passed here</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"><span>dev.</span><wbr></wbr><span>inmo.</span><wbr></wbr><span>tgbotapi.</span><wbr></wbr><span>extensions.</span><wbr></wbr><span>behaviour_builder.</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span><span>Context</span></span></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="build-behaviour-with-f-s-m-and-start-long-polling.html"><span>build</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span>With</span><wbr></wbr><span>FSMAnd</span><wbr></wbr><span>Start</span><wbr></wbr><span>Long</span><wbr></wbr><span><span>Polling</span></span></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"><span>start</span><wbr></wbr><span>Getting</span><wbr></wbr><span>Of</span><wbr></wbr><span>Updates</span><wbr></wbr><span>By</span><wbr></wbr><span>Long</span><wbr></wbr><span><span>Polling</span></span></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>
|
||||
|
@@ -13,7 +13,7 @@
|
||||
</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//telegramBotWithBehaviourAndFSM/#kotlin.String#dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter#kotlinx.coroutines.CoroutineScope?#kotlin.String#kotlin.Function1[dev.inmo.tgbotapi.bot.Ktor.KtorRequestsExecutorBuilder,kotlin.Unit]#kotlin.coroutines.SuspendFunction1[kotlin.Throwable,kotlin.Unit]?#dev.inmo.micro_utils.fsm.common.StatesManager#kotlin.collections.MutableList[dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourWithFSMStateHandlerHolder[*]]#kotlin.coroutines.SuspendFunction1[dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContextWithFSMBuilder,kotlin.Unit]/PointingToDeclaration//-1982836883">
|
||||
<script type="text/javascript" src="../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.behaviour_builder//telegramBotWithBehaviourAndFSM/#kotlin.String#dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter#kotlinx.coroutines.CoroutineScope?#kotlin.String#kotlin.Function1[dev.inmo.tgbotapi.bot.Ktor.KtorRequestsExecutorBuilder,kotlin.Unit]#kotlin.coroutines.SuspendFunction1[kotlin.Throwable,kotlin.Unit]?#dev.inmo.micro_utils.fsm.common.StatesManager[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]#kotlin.collections.MutableList[dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourWithFSMStateHandlerHolder[*,TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])]]#kotlin.coroutines.SuspendFunction1[dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContextWithFSMBuilder[TypeParam(bounds=[dev.inmo.micro_utils.fsm.common.State])],kotlin.Unit]/PointingToDeclaration//-1982836883">
|
||||
<div class="navigation-wrapper" id="navigation-wrapper">
|
||||
<div class="breadcrumbs"><a href="../../index.html">docs</a>/<a href="index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a>/<a href="telegram-bot-with-behaviour-and-f-s-m.html">telegramBotWithBehaviourAndFSM</a></div>
|
||||
<div class="pull-right d-flex">
|
||||
@@ -27,7 +27,7 @@
|
||||
<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="telegram-bot-with-behaviour-and-f-s-m.html">telegramBotWithBehaviourAndFSM</a>(token: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, flowsUpdatesFilter: <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>? = null, apiUrl: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a> = telegramBotAPIDefaultUrl, builder: <a href="../dev.inmo.tgbotapi.bot.Ktor/-ktor-requests-executor-builder/index.html">KtorRequestsExecutorBuilder</a>.() -> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a> = {}, defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span> = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html">MutableList</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*>> = mutableListOf(), block: <a href="index.html#-1892390839%2FClasslikes%2F-1982836883">CustomBehaviourContextReceiver</a><<a href="-behaviour-context-with-f-s-m-builder/index.html">BehaviourContextWithFSMBuilder</a>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>): <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">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 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="telegram-bot-with-behaviour-and-f-s-m.html">T</a> : <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>> <a href="telegram-bot-with-behaviour-and-f-s-m.html">telegramBotWithBehaviourAndFSM</a>(token: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, flowsUpdatesFilter: <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>? = null, apiUrl: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a> = telegramBotAPIDefaultUrl, builder: <a href="../dev.inmo.tgbotapi.bot.Ktor/-ktor-requests-executor-builder/index.html">KtorRequestsExecutorBuilder</a>.() -> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a> = {}, defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, statesManager: <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/StatesManager///PointingToDeclaration/">StatesManager</span><<a href="telegram-bot-with-behaviour-and-f-s-m.html">T</a>> = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html">MutableList</a><<a href="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a><*, <a href="telegram-bot-with-behaviour-and-f-s-m.html">T</a>>> = mutableListOf(), block: <a href="index.html#-1892390839%2FClasslikes%2F-1982836883">CustomBehaviourContextReceiver</a><<a href="-behaviour-context-with-f-s-m-builder/index.html">BehaviourContextWithFSMBuilder</a><<a href="telegram-bot-with-behaviour-and-f-s-m.html">T</a>>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>): <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">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>
|
||||
<p class="paragraph">Create bot using <a href="../dev.inmo.tgbotapi.bot.Ktor/telegram-bot.html">telegramBot</a> and start listening for updates using <a href="build-behaviour-with-f-s-m.html">buildBehaviourWithFSM</a>. Use this method in case you wish to make some additional actions with <a href="telegram-bot-with-behaviour-and-f-s-m.html">flowsUpdatesFilter</a>.</p><p class="paragraph"><strong>WARNING</strong> 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><h4 class="">Return</h4><p class="paragraph">Created bot which has been used to create <a href="-behaviour-context/index.html">BehaviourContext</a> via <a href="build-behaviour-with-f-s-m.html">buildBehaviourWithFSM</a></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"><span>dev.</span><wbr></wbr><span>inmo.</span><wbr></wbr><span>tgbotapi.</span><wbr></wbr><span>extensions.</span><wbr></wbr><span>behaviour_builder.</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span><span>Context</span></span></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="build-behaviour-with-f-s-m.html"><span>build</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span>With</span><wbr></wbr><span><span>FSM</span></span></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"><span>start</span><wbr></wbr><span>Getting</span><wbr></wbr><span>Of</span><wbr></wbr><span>Updates</span><wbr></wbr><span>By</span><wbr></wbr><span>Long</span><wbr></wbr><span><span>Polling</span></span></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>
|
||||
|
@@ -27,7 +27,7 @@
|
||||
<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="telegram-bot-with-behaviour.html">telegramBotWithBehaviour</a>(token: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, flowsUpdatesFilter: <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>? = null, apiUrl: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a> = telegramBotAPIDefaultUrl, builder: <a href="../dev.inmo.tgbotapi.bot.Ktor/-ktor-requests-executor-builder/index.html">KtorRequestsExecutorBuilder</a>.() -> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a> = {}, defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, block: <a href="index.html#1125173050%2FClasslikes%2F-1982836883">BehaviourContextReceiver</a><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>): <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">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 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="telegram-bot-with-behaviour.html">telegramBotWithBehaviour</a>(token: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, flowsUpdatesFilter: <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a> = FlowsUpdatesFilter(), scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>? = null, apiUrl: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a> = telegramBotAPIDefaultUrl, builder: <a href="../dev.inmo.tgbotapi.bot.Ktor/-ktor-requests-executor-builder/index.html">KtorRequestsExecutorBuilder</a>.() -> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a> = {}, defaultExceptionsHandler: <span data-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>? = null, block: <a href="index.html#1125173050%2FClasslikes%2F-1982836883">BehaviourContextReceiver</a><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>>): <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">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>
|
||||
<p class="paragraph">Create bot using <a href="../dev.inmo.tgbotapi.bot.Ktor/telegram-bot.html">telegramBot</a> and start listening for updates using <a href="build-behaviour.html">buildBehaviour</a>. Use this method in case you wish to make some additional actions with <a href="telegram-bot-with-behaviour.html">flowsUpdatesFilter</a>.</p><p class="paragraph"><strong>WARNING</strong> 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><h4 class="">Return</h4><p class="paragraph">Created bot which has been used to create <a href="-behaviour-context/index.html">BehaviourContext</a> via <a href="build-behaviour.html">buildBehaviour</a></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"><span>dev.</span><wbr></wbr><span>inmo.</span><wbr></wbr><span>tgbotapi.</span><wbr></wbr><span>extensions.</span><wbr></wbr><span>behaviour_builder.</span><wbr></wbr><span>Behaviour</span><wbr></wbr><span><span>Context</span></span></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="build-behaviour.html"><span>build</span><wbr></wbr><span><span>Behaviour</span></span></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"><span>start</span><wbr></wbr><span>Getting</span><wbr></wbr><span>Of</span><wbr></wbr><span>Updates</span><wbr></wbr><span>By</span><wbr></wbr><span>Long</span><wbr></wbr><span><span>Polling</span></span></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>
|
||||
|
Reference in New Issue
Block a user