MadelineProto/docs/API_docs/constructors/messageMediaPhoto.md

370 B

Constructor: messageMediaPhoto

Attributes:

Name Type Required
photo Photo Required
caption string Required

Type: MessageMedia

Example:

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