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