BotInfo constructor
BotInfo({
- required String shortDescription,
- required String description,
- Photo? photo,
- Animation? animation,
- required int managerBotUserId,
- required List<
BotCommand> commands, - required String privacyPolicyUrl,
- ChatAdministratorRights? defaultGroupAdministratorRights,
- ChatAdministratorRights? defaultChannelAdministratorRights,
- AffiliateProgramInfo? affiliateProgram,
- required int webAppBackgroundLightColor,
- required int webAppBackgroundDarkColor,
- required int webAppHeaderLightColor,
- required int webAppHeaderDarkColor,
- BotVerificationParameters? verificationParameters,
- required bool canGetRevenueStatistics,
- required bool canManageEmojiStatus,
- required bool hasMediaPreviews,
- InternalLinkType? editCommandsLink,
- InternalLinkType? editDescriptionLink,
- InternalLinkType? editDescriptionMediaLink,
- InternalLinkType? editSettingsLink,
Implementation
BotInfo({
required this.shortDescription,
required this.description,
this.photo,
this.animation,
required this.managerBotUserId,
this.menuButton,
required this.commands,
required this.privacyPolicyUrl,
this.defaultGroupAdministratorRights,
this.defaultChannelAdministratorRights,
this.affiliateProgram,
required this.webAppBackgroundLightColor,
required this.webAppBackgroundDarkColor,
required this.webAppHeaderLightColor,
required this.webAppHeaderDarkColor,
this.verificationParameters,
required this.canGetRevenueStatistics,
required this.canManageEmojiStatus,
required this.hasMediaPreviews,
this.editCommandsLink,
this.editDescriptionLink,
this.editDescriptionMediaLink,
this.editSettingsLink,
});