BotInfo constructor

const BotInfo({
  1. required String shortDescription,
  2. required String description,
  3. Photo? photo,
  4. Animation? animation,
  5. BotMenuButton? menuButton,
  6. required List<BotCommand> commands,
  7. ChatAdministratorRights? defaultGroupAdministratorRights,
  8. ChatAdministratorRights? defaultChannelAdministratorRights,
  9. InternalLinkType? editCommandsLink,
  10. InternalLinkType? editDescriptionLink,
  11. InternalLinkType? editDescriptionMediaLink,
  12. InternalLinkType? editSettingsLink,
})

Contains information about a bot

Implementation

const BotInfo({
  required this.shortDescription,
  required this.description,
  this.photo,
  this.animation,
  this.menuButton,
  required this.commands,
  this.defaultGroupAdministratorRights,
  this.defaultChannelAdministratorRights,
  this.editCommandsLink,
  this.editDescriptionLink,
  this.editDescriptionMediaLink,
  this.editSettingsLink,
});