Constructor: inputMediaPhoto
Forwarded photo
Attributes:
Name | Type | Required | Description |
---|---|---|---|
spoiler | Bool | Optional | Whether this media should be hidden behind a spoiler warning |
id | MessageMedia, Message, Update or InputPhoto | Optional | Photo to be forwarded |
ttl_seconds | int | Optional | Time to live in seconds of self-destructing photo |
Type: InputMedia
Example:
$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'spoiler' => Bool, 'id' => InputPhoto, 'ttl_seconds' => int];