InternalLinkTypeRequestManagedBot constructor

const InternalLinkTypeRequestManagedBot({
  1. required String managerBotUsername,
  2. required String suggestedBotUsername,
  3. required String suggestedBotName,
  4. dynamic extra,
  5. int? clientId,
})

The link is a link to a dialog for creating of a managed bot. Call searchPublicChat with the given manager bot username. If the chat is found, the chat is a chat with a bot and the bot has can_manage_bots == true, then show bot creation confirmation dialog with the given suggested_bot_username and suggested_bot_name. If user agrees, call createBot with via_link == true to create the bot

Implementation

const InternalLinkTypeRequestManagedBot({
  required this.managerBotUsername,
  required this.suggestedBotUsername,
  required this.suggestedBotName,
  this.extra,
  this.clientId,
});