update version of telegram bot api

This commit is contained in:
2020-10-27 16:23:27 +06:00
parent 8f79b9e380
commit 7b66c89632
3 changed files with 2 additions and 6 deletions

View File

@@ -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) {