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