DocumentAttributeAudio

class pyrogram.raw.types.DocumentAttributeAudio

Represents an audio file.

Constructor type of DocumentAttribute.

Details
  • Layer: 126

  • ID: 0x9852f9c6

Parameters
  • duration (int 32-bit) – Duration in seconds.

  • voice (bool, optional) – Whether this is a voice message.

  • title (str, optional) – Name of song.

  • performer (str, optional) – Performer.

  • waveform (bytes, optional) – Waveform.