docs
4.1.2
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
>