Raw.DecryptedMessageMediaVideo45

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 : 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

  • caption : string

    Caption