account.DisablePeerConnectedBot#

class pyrogram.raw.functions.account.DisablePeerConnectedBot#

Permanently disconnect a specific chat from all business bots » (equivalent to specifying it in recipients.exclude_users during initial configuration with account.updateConnectedBot »); to reconnect of a chat disconnected using this method the user must reconnect the entire bot by invoking account.updateConnectedBot ».

Details:
  • Layer: 187

  • ID: 5E437ED9

Parameters:

peer (InputPeer) – The chat to disconnect

Returns:

bool