Raw.DocumentAttributeAudio

Raw.DocumentAttributeAudio

Represents an audio file

documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute;
export namespace Raw {
  export class DocumentAttributeAudio {
    constructor(params: {
      voice?: boolean;
      duration: number;
      title?: string;
      performer?: string;
      waveform?: Buffer;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x9852f9c6

Property