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