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