Raw.InputMediaDocumentExternal

Raw.InputMediaDocumentExternal

Document that will be downloaded by the telegram servers

inputMediaDocumentExternal#fb52dc99 flags:# spoiler:flags.1?true url:string ttl_seconds:flags.0?int = InputMedia;
export namespace Raw {
  export class InputMediaDocumentExternal {
    constructor(params: { spoiler?: boolean; url: string; ttlSeconds?: number }) {}
  }
}
🚫

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

Layer: 185
Constructor ID: 0xfb52dc99

Property

  • spoiler : boolean or undefined

    Whether this media should be hidden behind a spoiler warning

  • url : string

    Url of the document

  • ttlSeconds : number or undefined

    Self-destruct time to live of document