Raw.DecryptedMessageMediaDocument8
Document attached to a message in a secret chat.
decryptedMessageMediaDocument#b095434b thumb:bytes thumb_w:int thumb_h:int file_name:string mime_type:string size:int key:bytes iv:bytes = DecryptedMessageMedia;
export namespace Raw {
export class DecryptedMessageMediaDocument8 {
constructor(params: {
thumb: Buffer;
thumbW: number;
thumbH: number;
fileName: string;
mimeType: string;
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: 0xb095434b
Property
thumb
: BufferThumbnail-file contents (jpeg-file, quality 55, set in a 90x90 square)
thumbW
: numberThumbnail width
thumbH
: numberThumbnail height
fileName
: stringmimeType
: stringFile mime-type
size
: numberDocument size (int on layer <143, long on layer >=143)
key
: BufferKey to decrypt the attached document file
iv
: BufferInitialization