1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-26 20:18:45 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/on-supergroup-event.md
2021-03-17 15:18:37 +00:00

1.3 KiB

//docs/dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/onSupergroupEvent

onSupergroupEvent

[common]
Content
suspend fun BehaviourContext.onSupergroupEvent(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (ChatEventMessage<SupergroupEvent>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<SupergroupEvent>>):