Constructor: messageMediaPhoto
Attached photo.
Attributes:
| Name | Type | Required | Description |
|---|---|---|---|
| spoiler | Bool | Optional | Whether this media should be hidden behind a spoiler warning |
| live_photo | Bool | Optional | |
| photo | Photo | Optional | Photo |
| ttl_seconds | int | Optional | Time to live in seconds of self-destructing photo |
| video | Document | Optional |
Type: MessageMedia
Example:
$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'spoiler' => Bool, 'live_photo' => Bool, 'photo' => Photo, 'ttl_seconds' => int, 'video' => Document];