<pclass="paragraph">Creates <ahref="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a> via creating of <ahref="-default-behaviour-context/index.html">DefaultBehaviourContext</a> with <spandata-unresolved-link="dev.inmo.tgbotapi.extensions.behaviour_builder//&lt;this&gt;/#/PointingToCallableParameters(-1)/">this</span> as <ahref="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>, <ahref="build-behaviour-with-f-s-m.html">scope</a> as target scope for that <ahref="-default-behaviour-context/index.html">DefaultBehaviourContext</a> and <ahref="build-behaviour-with-f-s-m.html">upstreamUpdatesFlow</a>. Pass <ahref="build-behaviour-with-f-s-m.html">statesManager</a> to customize some internal logic of states changes. Pass <ahref="build-behaviour-with-f-s-m.html">presetHandlers</a> in case you have some list of <ahref="-behaviour-with-f-s-m-state-handler-holder/index.html">BehaviourWithFSMStateHandlerHolder</a> with presets.</p><pclass="paragraph">!!! WARNING !!! This method WILL NOT call <ahref="-behaviour-context-with-f-s-m/start.html">BehaviourContextWithFSM.start</a> of result object and WILL NOT start any updates retrieving. See <ahref="build-behaviour-with-f-s-m-and-start-long-polling.html">buildBehaviourWithFSMAndStartLongPolling</a> or <ahref="telegram-bot-with-behaviour-and-f-s-m-and-start-long-polling.html">telegramBotWithBehaviourAndFSMAndStartLongPolling</a> in case you wish to start <ahref="../dev.inmo.tgbotapi.extensions.utils.updates.retrieving/long-polling.html">longPolling</a> automatically</p></div>
<pclass="paragraph">Creates <ahref="-behaviour-context-with-f-s-m/index.html">BehaviourContextWithFSM</a> via creating of <ahref="-default-behaviour-context/index.html">DefaultBehaviourContext</a> with <spandata-unresolved-link="dev.inmo.tgbotapi.extensions.behaviour_builder//&lt;this&gt;/#/PointingToCallableParameters(-1)/">this</span> as <ahref="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>, <ahref="build-behaviour-with-f-s-m.html">scope</a> as target scope for that <ahref="-default-behaviour-context/index.html">DefaultBehaviourContext</a> and <ahref="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/all-updates-flow.html">FlowsUpdatesFilter.allUpdatesFlow</a> of <ahref="build-behaviour-with-f-s-m.html">flowUpdatesFilter</a> as <spandata-unresolved-link="dev.inmo.tgbotapi.extensions.behaviour_builder/DefaultBehaviourContext/upstreamUpdatesFlow/#/PointingToDeclaration/">DefaultBehaviourContext.upstreamUpdatesFlow</span>. Pass <ahref="build-behaviour-with-f-s-m.html">statesManager</a> to customize some internal logic of states changes. Pass <ahref="build-behaviour-with-f-s-m.html">presetHandlers</a> in case you have some list of <ahref="-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 <ahref="build-behaviour-with-f-s-m.html">flowUpdatesFilter</a>.</p><pclass="paragraph">!!! WARNING !!! This method WILL NOT call <ahref="-behaviour-context-with-f-s-m/start.html">BehaviourContextWithFSM.start</a> of result object and WILL NOT start any updates retrieving. See <ahref="build-behaviour-with-f-s-m-and-start-long-polling.html">buildBehaviourWithFSMAndStartLongPolling</a> or <ahref="telegram-bot-with-behaviour-and-f-s-m-and-start-long-polling.html">telegramBotWithBehaviourAndFSMAndStartLongPolling</a> in case you wish to start <ahref="../dev.inmo.tgbotapi.extensions.utils.updates.retrieving/long-polling.html">longPolling</a> automatically</p><h2class="">See also</h2><divdata-togglable="See also"><divclass="platform-hinted WithExtraAttributes"data-platform-hinted="data-platform-hinted"data-togglable="See also"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":docs:dokkaHtml/commonMain"><divdata-togglable="See also"><divclass="table"data-togglable="See also"><divclass="table-row"data-filterable-current=":docs:dokkaHtml/commonMain"data-filterable-set=":docs:dokkaHtml/commonMain"><divclass="main-subrow keyValue WithExtraAttributes RowTitle"><divclass=""><spanclass="inline-flex"><ahref="-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><spanclass="inline-flex"><divdata-togglable="See also"></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":docs:dokkaHtml/commonMain"data-filterable-set=":docs:dokkaHtml/commonMain"><divclass="main-subrow keyValue WithExtraAttributes RowTitle"><divclass=""><spanclass="inline-flex"><ahref="-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><spanclass="inline-flex"><divdata-togglable="See also"></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":docs:dokkaHtml/commonMain"data-filterable-set=":docs:dokkaHtml/commonMain"><divclass="main-subrow keyValue WithExtraAttributes RowTitle"><divclass=""><spanclass="inline-flex"><ahref="../dev.inmo.tgbotapi.extensions.utils.updates.retrieving/long-polling.html"><span>long</span><wbr></wbr><span><span>Polling</span></spa