InputMessageVoiceNote constructor
const
InputMessageVoiceNote({
- required InputFile voiceNote,
- required int duration,
- required String waveform,
- FormattedText? caption,
- MessageSelfDestructType? selfDestructType,
A voice note message
Implementation
const InputMessageVoiceNote({
required this.voiceNote,
required this.duration,
required this.waveform,
this.caption,
this.selfDestructType,
});