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.expectations/wait-voice-chat-events.md
2021-03-17 15:18:37 +00:00

12 lines
1.2 KiB
Markdown

//[docs](../../index.md)/[dev.inmo.tgbotapi.extensions.behaviour_builder.expectations](index.md)/[waitVoiceChatEvents](wait-voice-chat-events.md)
# waitVoiceChatEvents
[common]
Content
suspend fun [BehaviourContext](../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.md).[waitVoiceChatEvents](wait-voice-chat-events.md)(initRequest: [Request](../dev.inmo.tgbotapi.requests.abstracts/-request/index.md)<*>? = null, errorFactory: [NullableRequestBuilder](index.md#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.expectations%2FNullableRequestBuilder%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)<*> = { null }, count: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) = 1, filter: [EventMessageToEventMapper](index.md#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder.expectations%2FEventMessageToEventMapper%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)<[VoiceChatEvent](../dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-voice-chat-event/index.md)>? = null): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[VoiceChatEvent](../dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-voice-chat-event/index.md)>