1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-27 04:28:44 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-chat-events.md
2021-03-17 15:18:37 +00:00

1.2 KiB

//docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/waitChatEvents

waitChatEvents

[common]
Content
suspend fun BehaviourContext.waitChatEvents(initRequest: Request<>? = null, errorFactory: NullableRequestBuilder<> = { null }, count: Int = 1, filter: EventMessageToEventMapper<ChatEvent>? = null): List<ChatEvent>