docs
4.0.0
common
docs
/
dev.inmo.tgbotapi.extensions.behaviour_builder.expectations
/
waitMedia
wait
Media
suspend
fun
BehaviourContext
.
waitMedia
(
initRequest
:
Request
<
*
>
?
=
null
,
errorFactory
:
NullableRequestBuilder
<
*
>
=
{ null }
,
includeMediaGroups
:
Boolean
=
false
)
:
Flow
<
MediaContent
>