inputMediaDocumentExternal
Document that will be downloaded by the telegram servers
type tg.InputMediaDocumentExternal struct { /* ... */ }
Implements InputMedia.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Spoiler | bool | — | Whether this media should be hidden behind a spoiler warning |
URL | string | yes | URL of the document |
TTLSeconds | int | — | Self-destruct time to live of document |
VideoCover | InputPhotoClass | — | Custom video cover. |
VideoTimestamp | int | — | Start playing the video at the specified timestamp (seconds). |
References
- Official documentation
- Generated Go reference
- TL definition:
inputMediaDocumentExternal#779600f9