Created
February 10, 2021 18:45
-
-
Save InsanusMokrassar/771d6e5f8f9be0dea91a05fc339402e5 to your computer and use it in GitHub Desktop.
Examples of TelegramBotAPI library work
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
suspend fun main(vararg args: String) { | |
val botToken = args.first() | |
val bot = telegramBot(botToken) | |
println(bot.getMe()) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment