Files
TelegramBotAPI-examples/RandomFileSenderBot/src/jvmMain/kotlin/RandomFileSenderBot.kt
2026-08-21 15:51:06 +06:00

7 lines
251 B
Kotlin

import dev.inmo.micro_utils.common.MPPFile
/** JVM entry point; [args] contains the bot token followed by an optional picker root. */
suspend fun main(args: Array<String>) {
doRandomFileSenderBot(args.first(), MPPFile(args.getOrNull(1) ?: ""))
}