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 turn their Telegram account into a business account, gaining access to business features such as opening hours, location, quick replies, automated messages, custom start pages, chatbot support, and more.