Raw.DecryptedMessageMediaVideo45
Video attached to an encrypted message.
decryptedMessageMediaVideo#970c8c0e thumb:bytes thumb_w:int thumb_h:int duration:int mime_type:string w:int h:int size:int key:bytes iv:bytes caption:string = DecryptedMessageMedia;
export namespace Raw {
export class DecryptedMessageMediaVideo45 {
constructor(params: {
thumb: Buffer;
thumbW: number;
thumbH: number;
duration: number;
mimeType: string;
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: 0x970c8c0e
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
caption
: stringCaption