BotMediaPreviewInfo constructor

const BotMediaPreviewInfo({
  1. required List<BotMediaPreview> previews,
  2. required List<String> languageCodes,
  3. dynamic extra,
  4. int? clientId,
})

Contains a list of media previews of a bot for the given language and the list of languages for which the bot has dedicated previews

Implementation

const BotMediaPreviewInfo({
  required this.previews,
  required this.languageCodes,
  this.extra,
  this.clientId,
});