mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2025-09-04 07:39:21 +00:00
update version of telegram bot api
This commit is contained in:
@@ -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