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: 187

  • ID: 43D8521D

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

  • recipients (InputBusinessBotRecipients) – Configuration for the business connection

  • can_reply (bool, optional) – Whether the bot can reply to messages it receives from us, on behalf of us using the business connection.

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

Returns:

Updates