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