mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2024-11-19 14:53:54 +00:00
11 lines
297 B
Kotlin
11 lines
297 B
Kotlin
|
import kotlinx.coroutines.Dispatchers
|
||
|
import kotlinx.coroutines.withContext
|
||
|
|
||
|
suspend fun main(args: Array<String>) {
|
||
|
withContext(Dispatchers.IO) { // IO for inheriting of it in side of activateKeyboardsBot
|
||
|
activateKeyboardsBot(args.first()) {
|
||
|
println(it)
|
||
|
}
|
||
|
}
|
||
|
}
|