Raw.DecryptedMessageMediaVideo17
Video attached to an encrypted message.
decryptedMessageMediaVideo#524a415d thumb:bytes thumb_w:int thumb_h:int duration:int mime_type:string w:int h:int size:int key:bytes iv:bytes = DecryptedMessageMedia;export namespace Raw {
export class DecryptedMessageMediaVideo17 {
constructor(params: {
thumb: Buffer;
thumbW: number;
thumbH: number;
duration: number;
mimeType: string;
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: 201
Constructor ID: 0x524a415d
Property
thumb: BufferContent of thumbnail file (jpeg file, quality 55, set in a square 90x90)
thumbW: numberThumbnail width
thumbH: numberThumbnail height
duration: numberDuration of video in seconds
mimeType: stringMime-type of the video fileparameter added in layer 17.
w: numberImage width
h: numberImage height
size: numberFile size
key: BufferKey to decrypt the attached video file
iv: BufferInitialization vector