InputMessageVoiceNote constructor

const InputMessageVoiceNote({
  1. required InputFile voiceNote,
  2. required int duration,
  3. required String waveform,
  4. FormattedText? caption,
})

A voice note message

Implementation

const InputMessageVoiceNote({
  required this.voiceNote,
  required this.duration,
  required this.waveform,
  this.caption,
});