update_connected_bot()

async Client.update_connected_bot()

Connect a business bot to the current account, or change connection settings.

Usable by Users Bots
Parameters:
  • bot (int | str | InputUser) – The bot to connect or disconnect.

  • recipients (InputBusinessBotRecipients) – Configuration for the business connection.

  • deleted (bool, optional) – Whether to fully disconnect the bot.

  • rights (BusinessBotRights, optional) – Business bot rights.

Returns:

Updates – On success, updates are returned.