BotInfo constructor
const
BotInfo({
- required String shortDescription,
- required String description,
- Photo? photo,
- Animation? animation,
- required List<
BotCommand> commands, - ChatAdministratorRights? defaultGroupAdministratorRights,
- ChatAdministratorRights? defaultChannelAdministratorRights,
- InternalLinkType? editCommandsLink,
- InternalLinkType? editDescriptionLink,
- InternalLinkType? editDescriptionMediaLink,
- 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,
});