BotInfo constructor

const BotInfo({
  1. required bool hasPreviewMedias,
  2. int? userId,
  3. String? description,
  4. PhotoBase? descriptionPhoto,
  5. DocumentBase? descriptionDocument,
  6. List<BotCommandBase>? commands,
  7. BotMenuButtonBase? menuButton,
  8. String? privacyPolicyUrl,
  9. BotAppSettingsBase? appSettings,
  10. BotVerifierSettingsBase? verifierSettings,
})

Bot Info constructor.

Implementation

const BotInfo({
  required this.hasPreviewMedias,
  this.userId,
  this.description,
  this.descriptionPhoto,
  this.descriptionDocument,
  this.commands,
  this.menuButton,
  this.privacyPolicyUrl,
  this.appSettings,
  this.verifierSettings,
}) : super._();