Constructor: inputMediaPhotoExternal
New photo that will be uploaded by the server using the specified URL
Attributes:
Name | Type | Required | Description |
---|---|---|---|
spoiler | Bool | Optional | Whether this media should be hidden behind a spoiler warning |
url | string | Yes | URL of the photo |
ttl_seconds | int | Optional | Self-destruct time to live of photo |
Type: InputMedia
Example:
$inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'spoiler' => Bool, 'url' => 'string', 'ttl_seconds' => int];