1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-23 10:38:43 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/on-audio.md
2021-03-17 15:18:37 +00:00

1.3 KiB

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

onAudio

[common]
Content
suspend fun BehaviourContext.onAudio(includeFilterByChatInBehaviourSubContext: Boolean = true, includeMediaGroups: Boolean = false, additionalFilter: CommonMessageFilter<AudioContent>? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<AudioContent>>):