DocumentAttributeAudio#
- class pyrogram.raw.types.DocumentAttributeAudio#
Represents an audio file.
Constructor of
DocumentAttribute
.- Details:
Layer:
158
ID:
9852F9C6
- 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: consists in a series of bitpacked 5-bit values. Example implementation: android.