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

12 lines
1.3 KiB
Markdown

//[docs](../../index.md)/[dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling](index.md)/[onSupergroupEvent](on-supergroup-event.md)
# onSupergroupEvent
[common]
Content
suspend fun [BehaviourContext](../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.md).[onSupergroupEvent](on-supergroup-event.md)(includeFilterByChatInBehaviourSubContext: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = true, additionalFilter: suspend ([ChatEventMessage](../dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.md)<[SupergroupEvent](../dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-supergroup-event/index.md)>) -> [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)? = null, scenarioReceiver: [BehaviourContextAndTypeReceiver](../dev.inmo.tgbotapi.extensions.behaviour_builder/index.md#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextAndTypeReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)<[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html), [ChatEventMessage](../dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.md)<[SupergroupEvent](../dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-supergroup-event/index.md)>>):