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
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
spoiler | true | Whether this media should be hidden behind a spoiler warning |
id | InputDocument | The document to be forwarded. |
video_cover | InputPhoto | Custom video cover. |
video_timestamp | int | Start playing the video at the specified timestamp (seconds). |
ttl_seconds | int | Time to live of self-destructing document |
query | 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 · 19 other constructors
history
present in layers 10–229 · constructor id changed 5×
| id | layers |
|---|---|
| #d184e841 | 10–23 |
| #1a77f29c | 46–68 |
| #5acb668e | 70–75 |
| #23ab23d2 | 76–121 |
| #33473058 | 122–197 |
| #a8763ab5 | 198–229 |