VoiceNote constructor
const
VoiceNote({
- required int duration,
- required String waveform,
- required String mimeType,
- SpeechRecognitionResult? speechRecognitionResult,
- required File voice,
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,
this.speechRecognitionResult,
required this.voice,
});