InlineQueryResultCachedVoice constructor

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

Basic constructor

Implementation

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