Files
TelegramBotAPI-examples/ResenderBot/native_launcher/src/nativeMain/kotlin/ResenderBot.kt
2026-08-21 15:51:06 +06:00

14 lines
304 B
Kotlin

import kotlinx.coroutines.runBlocking
/**
* Starts the native resender launcher with the first element of [args] as its bot
* token. Later elements are ignored.
*/
fun main(vararg args: String) {
runBlocking {
activateResenderBot(args.first()) {
println(it)
}
}
}