InlineQueryResultCachedVoice constructor

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

Implementation

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