mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2026-12-06 10:23:05 +00:00
upgrade up to 0.37.0
This commit is contained in:
1 parent
1b340d8db5
commit
d936bc4643
8 files changed
+13
-20
No files matched your search
@@ -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<*> }
|
||||
) {
|
||||
|
||||
Reference in new issue
Block a user