documentAttributeAudio

Represents an audio file

Constructor schema is available as of layer 32. Switch ยป

Parameters

Name Type Description
flags # Flags, see TL conditional fields
voice flags.10?true Whether this is a voice message
duration int Duration in seconds
title flags.0?string Name of song
performer flags.1?string Performer
waveform flags.2?bytes Waveform: consists in a series of bitpacked 5-bit values.
Example implementation: android.

Type

DocumentAttribute