MadelineProto/old_docs/API_docs_v27/constructors/messageMediaPhoto.md

27 lines
466 B
Markdown
Raw Normal View History

---
title: messageMediaPhoto
description: messageMediaPhoto attributes, type and example
---
## Constructor: messageMediaPhoto
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|photo|[Photo](../types/Photo.md) | Required|
### Type: [MessageMedia](../types/MessageMedia.md)
### Example:
```
$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, ];
```