account.DisablePeerConnectedBot¶
- class pyrogram.raw.functions.account.DisablePeerConnectedBot[source]¶
Permanently disconnect a specific chat from all business bots » (equivalent to specifying it in
recipients.exclude_usersduring 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 ».Usable by Users Bots- Details:
Layer:
229ID:
5E437ED9
- Parameters:
peer (
InputPeer) – The chat to disconnect- Returns:
bool