docs

# strictlyOn

inline fun < I : T > strictlyOn (handler: BehaviourWithFSMStateHandler < I , T >)
Content copied to clipboard

Add STRICT handler to list of available in future BehaviourContextWithFSM. Strict means that for input State will be used State::class == kClass and any State with exactly the same type will pass requirements

## See also

dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourWithFSMStateHandlerHolder
dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContextWithFSM