Machine-readable version of this page: /method/account.toggleConnectedBotPaused.md.

account.toggleConnectedBotPaused

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

 메서드 스키마는 레이어 177부터 사용할 수 있습니다. 전환 »

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

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.