MadelineProto/old_docs/API_docs_v40/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, ];