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