upgrade up to 0.37.0

This commit is contained in:
2021-11-11 12:34:52 +06:00
parent 1b340d8db5
commit d936bc4643
8 changed files with 13 additions and 20 deletions

View File

@@ -18,7 +18,7 @@ suspend fun activateResenderBot(
print(bot.getMe())
bot.buildBehaviour(CoroutineScope(coroutineContext + SupervisorJob())) {
bot.buildBehaviourWithLongPolling(CoroutineScope(coroutineContext + SupervisorJob())) {
onContentMessage(
subcontextUpdatesFilter = MessageFilterByChat + BehaviourContextAndTwoTypesReceiver { it, _ -> it !is MediaGroupMessage<*> }
) {