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