telegram api constructor · layer 229 · #9852f9c6
documentAttributeAudio
Represents an audio file
definition
documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute;
parameters
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
voice | true | Whether this is a voice message |
duration | int | Duration in seconds |
title | string | Name of song |
performer | string | Performer |
waveform | bytes | Waveform: consists in a series of bitpacked 5-bit values. Example implementation: android. |
type
DocumentAttribute · other constructors: documentAttributeImageSize, documentAttributeAnimated, documentAttributeSticker, documentAttributeVideo, documentAttributeFilename, documentAttributeHasStickers, documentAttributeCustomEmoji
history
present in layers 23–229 · constructor id changed 2×
| id | layers |
|---|---|
| #051448e5 | 23 |
| #ded218e0 | 46 |
| #9852f9c6 | 62–229 |