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