Constructor: inputMediaDocumentExternal
Document that will be downloaded by the telegram servers
Attributes:
| Name | Type | Required | Description |
|---|---|---|---|
| spoiler | Bool | Optional | Whether this media should be hidden behind a spoiler warning |
| url | string | Yes | URL of the document |
| ttl_seconds | int | Optional | Self-destruct time to live of document |
| video_cover | MessageMedia, Message, Update or InputPhoto | Optional | Custom video cover. |
| video_timestamp | int | Optional | Start playing the video at the specified timestamp (seconds). |
Type: InputMedia
Example:
$inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'spoiler' => Bool, 'url' => 'string', 'ttl_seconds' => int, 'video_cover' => InputPhoto, 'video_timestamp' => int];