mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-06-28 12:27:49 +00:00
8 lines
226 B
Kotlin
8 lines
226 B
Kotlin
|
package dev.inmo.tgbotapi.extensions.behaviour_builder
|
||
|
|
||
|
import dev.inmo.micro_utils.fsm.common.*
|
||
|
|
||
|
fun interface BehaviourWithFSMStateHandler<T : State> {
|
||
|
suspend fun BehaviourContextWithFSM.handleState(state: T): State?
|
||
|
}
|