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