InlineQueryResultAudio constructor

InlineQueryResultAudio({
  1. required String id,
  2. String type = InlineQueryResult.typeAudio,
  3. required String audioUrl,
  4. required String title,
  5. String? caption,
  6. String? parseMode,
  7. String? performer,
  8. int? audioDuration,
  9. List<MessageEntity>? captionEntities,
  10. InlineKeyboardMarkup? replyMarkup,
  11. InputMessageContent? inputMessageContent,
})

Implementation

InlineQueryResultAudio({
  required this.id,
  this.type = InlineQueryResult.typeAudio,
  required this.audioUrl,
  required this.title,
  this.caption,
  this.parseMode,
  this.performer,
  this.audioDuration,
  this.captionEntities,
  this.replyMarkup,
  this.inputMessageContent,
});