account.toggleConnectedBotPaused

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

 Method schema is available as of layer 177. Switch »

Parameters

Name Type Description
peer InputPeer The chat to pause
paused Bool Whether to pause or unpause the chat

Result

Bool

Only users can use this method

Possible errors

Code Type Description
400 PEER_ID_INVALID The provided peer id is invalid.

Related pages

Connected business bots

Business users can connect Telegram bots that will process and answer messages on their behalf. This allows businesses to seamlessly integrate any existing tools and workflows, or add AI assistants that manage their chats.