update version of telegram bot api

This commit is contained in:
InsanusMokrassar committed 2020-10-27 16:23:27 +06:00
1 parent 8f79b9e380
commit 7b66c89632
3 files changed
+2 -6

No files matched your search

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