disable_peer_connected_bot()

async Client.disable_peer_connected_bot()

Permanently disconnect a specific chat from all business bots.

Usable by Users Bots
Parameters:

peer (int | str | InputPeer) – The chat to disconnect.

Returns:

bool – On success, True is returned.