BotInfo constructor
const
BotInfo({
- required bool hasPreviewMedias,
- int? userId,
- String? description,
- PhotoBase? descriptionPhoto,
- DocumentBase? descriptionDocument,
- List<
BotCommandBase> ? commands, - String? privacyPolicyUrl,
- BotAppSettingsBase? appSettings,
- 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._();