account.UpdateConnectedBot#

class pyrogram.raw.functions.account.UpdateConnectedBot#

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

Details:
  • Layer: 201

  • ID: 66A08C7E

Parameters:
  • bot (InputUser) – The bot to connect or disconnect

  • recipients (InputBusinessBotRecipients) – Configuration for the business connection

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

  • rights (BusinessBotRights, optional) – N/A

Returns:

Updates