<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":tgbotapi.behaviour_builder.fsm:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><spanclass="token keyword">constructor</span><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">inputKlass<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="index.html">I</a><spanclass="token operator">></span><spanclass="token punctuation">, </span></span><spanclass="parameter ">strict<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><spanclass="token operator"> = </span><spanclass="token boolean">false</span><spanclass="token punctuation">, </span></span><spanclass="parameter ">delegateTo<spanclass="token operator">: </span><ahref="../-behaviour-with-f-s-m-state-handler/index.html">BehaviourWithFSMStateHandler</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="index.html">I</a><spanclass="token punctuation">, </span><spanclass="token keyword"></span><ahref="index.html">O</a><spanclass="token operator">></span></span></span><spanclass="token punctuation">)</span></div><h4class="">Parameters</h4><divclass="table"><divclass="table-row"data-filterable-current=":tgbotapi.behaviour_builder.fsm:dokkaHtmlPartial/commonMain"data-filterable-set=":tgbotapi.behaviour_builder.fsm:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><u><span>input</span><wbr><span><span>Klass</span></span></u></div></span></div><div><divclass="title"><pclass="paragraph">This <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a> will be used to compare input <spandata-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span> type and declare ability of <ahref="../../../tgbotapi.behaviour_builder/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-with-f-s-m-state-handler-holder/[60]init[62].html">delegateTo</a> to handle incoming <spandata-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span>. See <ahref="check-handleable.html">checkHandleable</a> for more info</p></div></div></div></div><divclass="table-row"data-filterable-current=":tgbotapi.behaviour_builder.fsm:dokkaHtmlPartial/commonMain"data-filterable-set=":tgbotapi.behaviour_builder.fsm:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><u><span><span>strict</span></span></u></div></span></div><div><divclass="title"><pclass="paragraph">This flag will be used in <ahref="check-handleable.html">checkHandleable</a> to choose strategy of checking incoming <spandata-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span></p></div></div></div></div><divclass="table-row"data-filterable-current=":tgbotapi.behaviour_builder.fsm:dokkaHtmlPartial/commonMain"data-filterable-set=":tgbotapi.behaviour_builder.fsm:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><u><span>delegate</span><wbr><span><span>To</span></span></u></div></span></div><div><divclass="title"><pclass="paragraph">This handler will be called in case <ahref="check-handleable.html">checkHandleable</a> returns true with class caster incoming <spandata-unresolved-link="dev.inmo.micro_utils.fsm.common/State///PointingToDeclaration/">State</span> in <ahref="handle-state.html">handleState</a></p></div></div></div></div></div></div></div>