VoiceNote constructor
const
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
Implementation
const VoiceNote({
required this.duration,
required this.waveform,
required this.mimeType,
required this.voice,
});