mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2026-09-13 11:34:13 +00:00
update readmes
This commit is contained in:
@@ -20,7 +20,10 @@ import kotlinx.coroutines.Dispatchers
|
||||
import java.io.File
|
||||
|
||||
/**
|
||||
* This bot will download incoming files
|
||||
* Starts the long-polling media downloader and echo bot.
|
||||
*
|
||||
* [args] must contain the bot token and may contain an output directory as its
|
||||
* second item. The directory is created when necessary and defaults to `/tmp/`.
|
||||
*/
|
||||
suspend fun main(args: Array<String>) {
|
||||
val botToken = args.first()
|
||||
|
||||
Reference in New Issue
Block a user