Pause or unpause a specific chat, temporarily disconnecting it from all business bots ».
boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
account.toggleConnectedBotPaused#646e1097 peer:InputPeer paused:Bool = Bool;
| Name | Type | Description |
|---|---|---|
| peer | InputPeer | The chat to pause |
| paused | Bool | Whether to pause or unpause the chat |
| Code | Type | Description |
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
Users can connect Telegram bots that will process and answer messages on their behalf. This allows them to seamlessly integrate any existing tools and workflows, or add AI assistants that manage their chats.