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

Possible errors

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

Related pages

Business

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.