InputMediaAudio constructor

InputMediaAudio({
  1. String type = InputMedia.typeAudio,
  2. required String media,
  3. String? thumbnail,
  4. String? caption,
  5. String? parseMode,
  6. List<MessageEntity>? captionEntities,
  7. int? duration,
  8. String? performer,
  9. String? title,
})

Implementation

InputMediaAudio({
  this.type = InputMedia.typeAudio,
  required this.media,
  this.thumbnail,
  this.caption,
  this.parseMode,
  this.captionEntities,
  this.duration,
  this.performer,
  this.title,
});