Airgram

Guides
/
/
Output types

Audio

Describes an audio file. Audio is usually in MP3 or M4A format.

This is an alias for the AudioUnion type.


NameTypeDescription
_"audio"
durationnumber Duration of the audio, in seconds; as defined by the sender
titlestring Title of the audio; as defined by the sender
performerstring Performer of the audio; as defined by the sender
fileNamestring Original name of the file; as defined by the sender
mimeTypestring The MIME type of the file; as defined by the sender
albumCoverMinithumbnail The minithumbnail of the album cover; may be null
albumCoverThumbnail The thumbnail of the album cover in JPEG format; as defined by the sender. The full size thumbnail is supposed to be extracted from the downloaded file; may be null
audio File containing the audio