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