mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2026-09-04 23:29:03 +00:00
14 lines
304 B
Kotlin
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)
|
|
}
|
|
}
|
|
}
|