account.toggleConnectedBotPaused #

Pause or unpause a specific chat, temporarily disconnecting it from all business bots ».

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
account.toggleConnectedBotPaused#646e1097 peer:InputPeer paused:Bool = Bool;

Parameters #

NameTypeDescription
peerInputPeerThe chat to pause
pausedBoolWhether to pause or unpause the chat

Result #

Bool

Only users can use this method #

Possible errors #

CodeTypeDescription
400PEER_ID_INVALIDThe provided peer id is invalid.

Connected business bots #

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.