Raw.InputMediaDocument

Raw.InputMediaDocument

Forwarded document

inputMediaDocument#33473058 flags:# spoiler:flags.2?true id:InputDocument ttl_seconds:flags.0?int query:flags.1?string = InputMedia;
export namespace Raw {
  export class InputMediaDocument {
    constructor(params: {
      spoiler?: boolean;
      id: Raw.TypeInputDocument;
      ttlSeconds?: number;
      query?: string;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x33473058

Property

  • spoiler : boolean or undefined

    Whether this media should be hidden behind a spoiler warning

  • id : Raw.TypeInputDocument

    The document to be forwarded.

  • ttlSeconds : number or undefined

    Time to live of self-destructing document

  • query : string or undefined

    Text query or emoji that was used by the user to find this sticker or gif: used to improve search result relevance.