inputMediaDocument #

Forwarded document

Layer 223

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, 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.
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