telegram api constructor · layer 229 · #779600f9

inputMediaDocumentExternal

Document that will be downloaded by the telegram servers

definition

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?intSelf-destruct time to live of document
video_coverflags.2?InputPhotoCustom video cover.
video_timestampflags.3?intStart playing the video at the specified timestamp (seconds).

type

InputMedia · 19 other constructors

history

present in layers 62–229 · constructor id changed 3×

idlayers
#e5e9607c62–68
#b6f7433570–75
#fb52dc9976–197
#779600f9198–229