Raw.InputMediaPhotoExternal

Raw.InputMediaPhotoExternal

New photo that will be uploaded by the server using the specified url

inputMediaPhotoExternal#e5bbfe1a flags:# spoiler:flags.1?true url:string ttl_seconds:flags.0?int = InputMedia;
export namespace Raw {
  export class InputMediaPhotoExternal {
    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: 0xe5bbfe1a

Property

  • spoiler : boolean or undefined

    Whether this media should be hidden behind a spoiler warning

  • url : string

    Url of the photo

  • ttlSeconds : number or undefined

    Self-destruct time to live of photo