upgrade up to 0.37.0

This commit is contained in:
2021-11-11 12:34:52 +06:00
parent 1b340d8db5
commit d936bc4643
8 changed files with 13 additions and 20 deletions

View File

@@ -17,7 +17,7 @@ data class StopState(override val context: ChatId) : BotState
suspend fun main(args: Array<String>) {
val botToken = args.first()
telegramBotWithBehaviourAndFSMAndStartLongPolling(botToken, CoroutineScope(Dispatchers.IO)) {
telegramBotWithBehaviourAndFSMAndStartLongPolling<BotState>(botToken, CoroutineScope(Dispatchers.IO)) {
strictlyOn<ExpectContentOrStopState> {
sendMessage(
it.context,