inputMediaDocumentExternal #

Document that will be downloaded by the telegram servers

Layer 223

inputMediaDocumentExternal#779600f9 flags:# spoiler:flags.1?true url:string ttl_seconds:flags.0?int video_cover:flags.2?InputPhoto video_timestamp:flags.3?int = InputMedia;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
spoilerflags.1?trueWhether this media should be hidden behind a spoiler warning
urlstringURL of the document
ttl_secondsflags.0?intTime to live of self-destructing document, can be 0 to disable self-destruction, 0x7FFFFFFF to self-destruct the document immediately after it's played; otherwise self-destructs ttl_seconds after it's played.
video_coverflags.2?InputPhotoCustom video cover.
video_timestampflags.3?intStart playing the video at the specified timestamp (seconds).

Type #

InputMedia