<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":docs:dokkaHtml/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=":docs:dokkaHtml/commonMain"data-filterable-set=":docs:dokkaHtml/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><u><span>input</span><wbr></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 <spandata-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 <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=":docs:dokkaHtml/commonMain"data-filterable-set=":docs:dokkaHtml/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=":docs:dokkaHtml/commonMain"data-filterable-set=":docs:dokkaHtml/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><u><span>delegate</span><wbr></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>