docs
5.0.0
common
docs
/
dev.inmo.tgbotapi.extensions.behaviour_builder.expectations
/
waitEvents
wait
Events
inline suspend
fun
<
O
:
ChatEvent
>
BehaviourContext
.
waitEvents
(
initRequest
:
Request
<
*
>
?
=
null
,
noinline
errorFactory
:
NullableRequestBuilder
<
*
>
=
{ null }
)
:
Flow
<
O
>