Raw.DecryptedMessageMediaPhoto45

Raw.DecryptedMessageMediaPhoto45

Photo attached to an encrypted message.

decryptedMessageMediaPhoto#f1fa8d78 thumb:bytes thumb_w:int thumb_h:int w:int h:int size:int key:bytes iv:bytes caption:string = DecryptedMessageMedia;
export namespace Raw {
  export class DecryptedMessageMediaPhoto45 {
    constructor(params: {
      thumb: Buffer;
      thumbW: number;
      thumbH: number;
      w: number;
      h: number;
      size: number;
      key: Buffer;
      iv: Buffer;
      caption: string;
    }) {}
  }
}
🚫

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

Layer: 185
Constructor ID: 0xf1fa8d78

Property

  • thumb : Buffer

    Content of thumbnail file (jpegfile, quality 55, set in a square 90x90)

  • thumbW : number

    Thumbnail width

  • thumbH : number

    Thumbnail height

  • w : number

    Photo width

  • h : number

    Photo height

  • size : number

    Size of the photo in bytes

  • key : Buffer

    Key to decrypt an attached file with a full version

  • iv : Buffer

    Initialization vector

  • caption : string

    Caption