mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2024-11-29 13:38:49 +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)
|
|
}
|
|
}
|
|
}
|