CRMchat APIBeta
Telegram APIStories

stories.toggleAllStoriesHidden

POST
/workspaces/{workspaceId}/telegram-accounts/{accountId}/call/stories.toggleAllStoriesHidden

Hide the active stories of a specific peer, preventing them from being displayed on the action bar on the homescreen.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

workspaceId*string

Workspace ID

accountId*string

Telegram account ID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

params*

Hide the active stories of a specific peer, preventing them from being displayed on the action bar on the homescreen.

Response Body

application/json

application/json

curl -X POST "https://example.com/workspaces/string/telegram-accounts/string/call/stories.toggleAllStoriesHidden" \  -H "Content-Type: application/json" \  -d '{    "params": {      "hidden": true    }  }'
{  "result": true}