mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2025-09-15 21:29:21 +00:00
update version of telegram bot api
This commit is contained in:
@@ -20,7 +20,7 @@ suspend fun activateResenderBot(
|
||||
|
||||
supervisorScope {
|
||||
val scope = this
|
||||
bot.startGettingFlowsUpdatesByLongPolling {
|
||||
bot.startGettingFlowsUpdatesByLongPolling(scope = scope) {
|
||||
filterContentMessages<MessageContent>(scope).onEach {
|
||||
it.content.createResends(it.chat.id, replyToMessageId = it.messageId).forEach {
|
||||
bot.executeUnsafe(it) {
|
||||
|
Reference in New Issue
Block a user