Sessions
Set Telegram session access sync
Owner-only setting. When enabled, Telegram sessions follow the provider's current audience; unresolved history remains hidden.
授权
bearerAuth 授权Bearer <token>
位置: header
路径参数
orgId*string
请求主体
application/json
TypeScript 定义
在 TypeScript 中使用 request body 类型。
响应主体
application/json
application/json
application/json
curl -X PUT "https://example.com/v1/orgs/string/session-access/telegram" \ -H "Content-Type: application/json" \ -d '{ "enabled": true }'{ "provider": "slack", "available": true, "enabled": true, "state": "disabled", "currentRevision": "string", "readFenceRevision": "string", "hiddenSessions": 0}