mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2026-11-23 20:02:57 +00:00
update readmes
This commit is contained in:
1 parent
016400a821
commit
ce48393895
104 files changed
+2615
-333
No files matched your search
@@ -18,7 +18,13 @@ import kotlinx.coroutines.CoroutineScope
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
|
||||
/**
|
||||
* The main purpose of this bot is just to answer "Oh, hi, " and add user mention here
|
||||
* Starts HelloBot with long polling and logs every received update.
|
||||
*
|
||||
* Content messages are handled when their text contains the bot's full
|
||||
* username. The reply varies for private, group, channel, and business chats.
|
||||
*
|
||||
* @param args the bot token at index `0`; any remaining arguments are ignored
|
||||
* @throws NoSuchElementException when no bot token is supplied
|
||||
*/
|
||||
@OptIn(PreviewFeature::class)
|
||||
suspend fun main(vararg args: String) {
|
||||
|
||||
Reference in new issue
Block a user