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
: BufferContent of thumbnail file (jpegfile, quality 55, set in a square 90x90)
thumbW
: numberThumbnail width
thumbH
: numberThumbnail height
w
: numberPhoto width
h
: numberPhoto height
size
: numberSize of the photo in bytes
key
: BufferKey to decrypt an attached file with a full version
iv
: BufferInitialization vector
caption
: stringCaption