telegram api constructor · layer 229 · #a8763ab5

inputMediaDocument

Forwarded document

definition

inputMediaDocument#a8763ab5 flags:# spoiler:flags.2?true id:InputDocument video_cover:flags.3?InputPhoto video_timestamp:flags.4?int ttl_seconds:flags.0?int query:flags.1?string = InputMedia;

parameters

nametypedescription
flags#Flags, see TL conditional fields
spoilerflags.2?trueWhether this media should be hidden behind a spoiler warning
idInputDocumentThe document to be forwarded.
video_coverflags.3?InputPhotoCustom video cover.
video_timestampflags.4?intStart playing the video at the specified timestamp (seconds).
ttl_secondsflags.0?intTime to live of self-destructing document
queryflags.1?stringText query or emoji that was used by the user to find this sticker or GIF: used to improve search result relevance.

type

InputMedia · 19 other constructors

history

present in layers 10–229 · constructor id changed 5×

idlayers
#d184e84110–23
#1a77f29c46–68
#5acb668e70–75
#23ab23d276–121
#33473058122–197
#a8763ab5198–229