inputMediaDocument

Forwarded document

inputMediaDocument#23ab23d2 flags:# id:InputDocument ttl_seconds:flags.0?int = InputMedia;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
spoiler flags.2?true Whether this media should be hidden behind a spoiler warning
id InputDocument The document to be forwarded.
video_cover flags.3?InputPhoto Custom video cover.
video_timestamp flags.4?int Start playing the video at the specified timestamp (seconds).
ttl_seconds flags.0?int Time 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.
query flags.1?string Text query or emoji that was used by the user to find this sticker or GIF: used to improve search result relevance.

Type

InputMedia