Raw.DecryptedMessageMediaAudio17

Raw.DecryptedMessageMediaAudio17

Audio file attached to a secret chat message.

decryptedMessageMediaAudio#57e0a9cb duration:int mime_type:string size:int key:bytes iv:bytes = DecryptedMessageMedia;
export namespace Raw {
  export class DecryptedMessageMediaAudio17 {
    constructor(params: {
      duration: number;
      mimeType: string;
      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: 0x57e0a9cb

Property

  • duration : number

    Audio duration in seconds

  • mimeType : string

    Mime-type of the audio fileparameter added in layer 13.

  • size : number

    File size

  • key : Buffer

    Key to decrypt the attached media file

  • iv : Buffer

    Initialization vector