Airgram

Guides
/
/
Output types

VoiceNote

Describes a voice note. The voice note must be encoded with the Opus codec, and stored inside an OGG container. Voice notes can have only a single audio channel.

This is an alias for the VoiceNoteUnion type.


NameTypeDescription
_"voiceNote"
durationnumber Duration of the voice note, in seconds; as defined by the sender
waveformstring A waveform representation of the voice note in 5-bit format
mimeTypestring MIME type of the file; as defined by the sender
voice File containing the voice note