MadelineProto/docs/API_docs/constructors/messageMediaPhoto.md

537 B

title description
messageMediaPhoto messageMediaPhoto attributes, type and example

Constructor: messageMediaPhoto

Back to constructors index

Attributes:

Name Type Required
photo Photo Required
caption string Required

Type: MessageMedia

Example:

$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ];