waitDocument

suspend fun BehaviourContext.waitDocument(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<DocumentContent>


suspend fun BehaviourContext.waitDocument(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean): Flow<DocumentContent>

Deprecated

includeMediaGroups is deprecated and its usage will not lead to any changes