BotInfo constructor

BotInfo(
  1. {required String short_description,
  2. required String description,
  3. Photo? photo,
  4. Animation? animation,
  5. BotMenuButton? menu_button,
  6. required List<BotCommand> commands,
  7. ChatAdministratorRights? default_group_administrator_rights,
  8. ChatAdministratorRights? default_channel_administrator_rights,
  9. InternalLinkType? edit_commands_link,
  10. InternalLinkType? edit_description_link,
  11. InternalLinkType? edit_description_media_link,
  12. InternalLinkType? edit_settings_link,
  13. int? extra,
  14. int? clientId}
)

Contains information about a bot

Implementation

BotInfo