Skip to main content

inputMediaDocumentExternal

Document that will be downloaded by the telegram servers

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

Implements InputMedia.

Fields

NameTypeRequiredDescription
SpoilerboolWhether this media should be hidden behind a spoiler warning
URLstringyesURL of the document
TTLSecondsintSelf-destruct time to live of document
VideoCoverInputPhotoClassCustom video cover.
VideoTimestampintStart playing the video at the specified timestamp (seconds).

References