account.toggleConnectedBotPaused
Pause or unpause a specific chat, temporarily disconnecting it from all business bots ».
Pause or unpause a specific chat, temporarily disconnecting it from all [business bots »](https://core.telegram.org/api/bots/connected-business-bots.md).
| Name | Type | Required | Description |
|---|---|---|---|
peer | InputPeer | Yes | The chat to pause |
paused | Bool | Yes | Whether to pause or unpause the chat |
Replies
Bool
MTProto RPC
- 400 · PEER_ID_INVALID — The provided peer id is invalid.