Raw.account.DisablePeerConnectedBot
Permanently disconnect a specific chat from all business bots (equivalent to specifying it in recipients.excludeUsers 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.
account.disablePeerConnectedBot#5e437ed9 peer:InputPeer = Bool;
export namespace Raw {
export namespace account {
export class DisablePeerConnectedBot {
constructor(params: { peer: Raw.TypeInputPeer }) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x5e437ed9
Property
peer
: Raw.TypeInputPeerThe chat to disconnect