Raw.DecryptedMessageMediaPhoto8

Raw.DecryptedMessageMediaPhoto8

Photo attached to an encrypted message.

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

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

Layer: 185
Constructor ID: 0x32798a8c

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