TelegramBotAPI-examples/ResenderBot/native_launcher/src/nativeMain/kotlin/ResenderBot.kt

10 lines
175 B
Kotlin

import kotlinx.coroutines.runBlocking
fun main(vararg args: String) {
runBlocking {
activateResenderBot(args.first()) {
println(it)
}
}
}