InputMessageVoiceNote constructor

const InputMessageVoiceNote({
  1. required InputVoiceNote voiceNote,
  2. FormattedText? caption,
  3. MessageSelfDestructType? selfDestructType,
})

Implementation

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