Raw.DecryptedMessageMediaVideo17

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: 185
Constructor ID: 0x524a415d

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

  • mimeType : string

    Mime-type of the video fileparameter added in layer 17.

  • 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