Raw.InputMediaDocument
Forwarded document
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;
export namespace Raw {
export class InputMediaDocument {
constructor(params: {
spoiler?: boolean;
id: Raw.TypeInputDocument;
videoCover?: Raw.TypeInputPhoto;
videoTimestamp?: number;
ttlSeconds?: number;
query?: string;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 198
Constructor ID: 0xa8763ab5
Property
spoiler
: boolean or undefinedWhether this media should be hidden behind a spoiler warning
id
: Raw.TypeInputDocumentThe document to be forwarded.
videoCover
: Raw.TypeInputPhoto or undefinedvideoTimestamp
: number or undefinedttlSeconds
: number or undefinedTime to live of self-destructing document
query
: string or undefinedText query or emoji that was used by the user to find this sticker or gif: used to improve search result relevance.