2016-12-20 13:15:22 +01:00
|
|
|
---
|
|
|
|
title: messageMediaPhoto
|
|
|
|
---
|
2016-12-19 16:56:52 +01:00
|
|
|
## Constructor: messageMediaPhoto
|
2016-12-20 13:15:22 +01:00
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
2016-12-19 16:56:52 +01:00
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required |
|
|
|
|
|----------|:-------------:|---------:|
|
|
|
|
|photo|[Photo](../types/Photo.md) | Required|
|
|
|
|
|caption|[string](../types/string.md) | Required|
|
|
|
|
|
2016-12-19 18:56:05 +01:00
|
|
|
|
|
|
|
|
|
|
|
### Type: [MessageMedia](../types/MessageMedia.md)
|
|
|
|
|
|
|
|
|
2016-12-19 16:56:52 +01:00
|
|
|
### Example:
|
|
|
|
|
|
|
|
```
|
2016-12-19 17:48:27 +01:00
|
|
|
$messageMediaPhoto = ['_' => messageMediaPhoto', 'photo' => Photo, 'caption' => string, ];
|
2016-12-19 16:56:52 +01:00
|
|
|
```
|