InlineQueryResultVoice constructor

const InlineQueryResultVoice({
  1. required String voiceUrl,
  2. required String title,
  3. required String id,
  4. String? caption,
  5. ParseMode? parseMode,
  6. List<MessageEntity>? captionEntities,
  7. int? voiceDuration,
  8. InlineKeyboardMarkup? replyMarkup,
  9. InputMessageContent? inputMessageContent,
})

Constructs an InlineQueryResultVoice object

Implementation

const InlineQueryResultVoice({
  required this.voiceUrl,
  required this.title,
  required this.id,
  this.caption,
  this.parseMode,
  this.captionEntities,
  this.voiceDuration,
  this.replyMarkup,
  this.inputMessageContent,
});