mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2026-10-25 13:37:06 +00:00
update version of telegram bot api
This commit is contained in:
1 parent
8f79b9e380
commit
7b66c89632
3 files changed
+2
-6
No files matched your search
@@ -26,10 +26,6 @@ suspend fun main(vararg args: String) {
|
||||
|
||||
val scope = CoroutineScope(Dispatchers.Default)
|
||||
|
||||
scope.launch {
|
||||
println(bot.getChatAdministrators((-1001433262056L).toChatId()))
|
||||
}
|
||||
|
||||
bot.startGettingFlowsUpdatesByLongPolling(scope = scope) {
|
||||
messageFlow.onEach {
|
||||
safely {
|
||||
|
||||
Reference in new issue
Block a user