Skip to main content

inputMediaDocumentExternal

Document that will be downloaded by the telegram servers

type tg.InputMediaDocumentExternal struct { /* ... */ }

Implements InputMedia.

Fields​

NameTypeRequiredDescription
Spoilerbool—Whether this media should be hidden behind a spoiler warning
URLstringyesURL of the document
TTLSecondsint—Self-destruct time to live of document
VideoCoverInputPhotoClass—Custom video cover.
VideoTimestampint—Start playing the video at the specified timestamp (seconds).

References​