mirror of
				https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
				synced 2025-11-04 06:00:10 +00:00 
			
		
		
		
	upgrade up to 0.37.0
This commit is contained in:
		@@ -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,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user