InlineQueryResultVoice constructor

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

Implementation

InlineQueryResultVoice({
  required this.id,
  this.type = InlineQueryResult.typeVoice,
  required this.voiceUrl,
  required this.title,
  this.caption,
  this.parseMode,
  this.voiceDuration,
  this.captionEntities,
  this.replyMarkup,
  this.inputMessageContent,
});