Raw.DecryptedMessageMediaDocument143
Document attached to a message in a secret chat.
decryptedMessageMediaDocument#6abd9782 thumb:bytes thumb_w:int thumb_h:int mime_type:string size:long key:bytes iv:bytes attributes:Vector<DocumentAttribute> caption:string = DecryptedMessageMedia;
export namespace Raw {
export class DecryptedMessageMediaDocument143 {
constructor(params: {
thumb: Buffer;
thumbW: number;
thumbH: number;
mimeType: string;
size: bigint;
key: Buffer;
iv: Buffer;
attributes: Array<Raw.TypeDocumentAttribute>;
caption: string;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x6abd9782
Property
thumb
: BufferThumbnail-file contents (jpeg-file, quality 55, set in a 90x90 square)
thumbW
: numberThumbnail width
thumbH
: numberThumbnail height
mimeType
: stringFile mime-type
size
: bigintDocument size (int on layer <143, long on layer >=143)
key
: BufferKey to decrypt the attached document file
iv
: BufferInitialization
attributes
: Array of Raw.TypeDocumentAttributeDocument attributes for media types
caption
: stringCaption