InputMessageAudio constructor

const InputMessageAudio({
  1. required InputFile audio,
  2. InputThumbnail? albumCoverThumbnail,
  3. required int duration,
  4. required String title,
  5. required String performer,
  6. FormattedText? caption,
})

An audio message

Implementation

const InputMessageAudio({
  required this.audio,
  this.albumCoverThumbnail,
  required this.duration,
  required this.title,
  required this.performer,
  this.caption,
});