MadelineProto/docs/API_docs/constructors/messageMediaPhoto.md

18 lines
370 B
Markdown

## Constructor: messageMediaPhoto
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|photo|[Photo](../types/Photo.md) | Required|
|caption|[string](../types/string.md) | Required|
### Type: [MessageMedia](../types/MessageMedia.md)
### Example:
```
$messageMediaPhoto = ['photo' => Photo, 'caption' => string, ];
```