Skip to content

InternalLinkTypeRequestManagedBot

Type · TDLib 1.8.67 · d1085f9c

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

InternalLinkTypeRequestManagedBot(
  manager_bot_username: string,
  suggested_bot_username: string,
  suggested_bot_name: string
) → InternalLinkType

manager_bot_username

string

Username of the bot which will manage the new bot

suggested_bot_username

string

Suggested username for the bot; always ends with "bot" case-insensitive

suggested_bot_name

string

Suggested name for the bot; may be empty if not specified