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