mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-27 04:28:44 +00:00
12 lines
1.6 KiB
Markdown
12 lines
1.6 KiB
Markdown
//[docs](../../index.md)/[dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling](index.md)/[onMediaCollection](on-media-collection.md)
|
|
|
|
|
|
|
|
# onMediaCollection
|
|
[common]
|
|
Content
|
|
suspend fun [BehaviourContext](../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.md).[onMediaCollection](on-media-collection.md)(includeFilterByChatInBehaviourSubContext: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = true, includeMediaGroups: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false, additionalFilter: suspend ([CommonMessage](../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.md)<[MediaCollectionContent](../dev.inmo.tgbotapi.types.message.content.abstracts/-media-collection-content/index.md)<[TelegramMediaFile](../dev.inmo.tgbotapi.types.files.abstracts/-telegram-media-file/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), [CommonMessage](../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.md)<[MediaCollectionContent](../dev.inmo.tgbotapi.types.message.content.abstracts/-media-collection-content/index.md)<[TelegramMediaFile](../dev.inmo.tgbotapi.types.files.abstracts/-telegram-media-file/index.md)>>>):
|
|
|
|
|
|
|