Skip to main content

documentAttributeAudio

Represents an audio file

type tg.DocumentAttributeAudio struct { /* ... */ }

Implements DocumentAttribute.

Fields

NameTypeRequiredDescription
VoiceboolWhether this is a voice message
DurationintyesDuration in seconds
TitlestringName of song
PerformerstringPerformer
Waveform[]byteWaveform: consists in a series of bitpacked 5-bit values. Example implementation: android.

References