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