Raw.DecryptedMessageMediaVideo8

Raw.DecryptedMessageMediaVideo8

Video attached to an encrypted message.

decryptedMessageMediaVideo#4cee6ef3 thumb:bytes thumb_w:int thumb_h:int duration:int w:int h:int size:int key:bytes iv:bytes = DecryptedMessageMedia;
export namespace Raw {
  export class DecryptedMessageMediaVideo8 {
    constructor(params: {
      thumb: Buffer;
      thumbW: number;
      thumbH: number;
      duration: number;
      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: 185
Constructor ID: 0x4cee6ef3

Property

  • thumb : Buffer

    Content of thumbnail file (jpeg file, quality 55, set in a square 90x90)

  • thumbW : number

    Thumbnail width

  • thumbH : number

    Thumbnail height

  • duration : number

    Duration of video in seconds

  • w : number

    Image width

  • h : number

    Image height

  • size : number

    File size

  • key : Buffer

    Key to decrypt the attached video file

  • iv : Buffer

    Initialization vector