openclaw channels
在 Gateway 閘道器上管理聊天頻道帳號及其執行期狀態。
Related docs:
- 頻道指南:Channels
- Gateway 閘道器設定:Configuration
常用指令
新增/移除帳號
openclaw channels add --help 會顯示各頻道專用的旗標(權杖、應用程式權杖、 signal-cli 路徑等)。
登入/登出(互動式)
Troubleshooting
- 執行
openclaw status --deep進行全面檢測。 - 使用
openclaw doctor取得引導式修復。 openclaw channels list會列印Claude: HTTP 403 ... user:profile→ usage snapshot needs theuser:profilescope. user:profile→ 使用快照需要user:profile範圍。請使用—no-usage,或提供 claude.ai 工作階段金鑰(CLAUDE_WEB_SESSION_KEY/CLAUDE_WEB_COOKIE\`),或透過 Claude Code CLI 重新驗證。
能力探測
擷取提供者的能力提示(在可用時包含 intents/scopes)以及靜態功能支援:--channel為選用;省略即可列出所有頻道(包含擴充)。--target接受channel:<id>或原始的數字頻道 ID,且僅適用於 Discord。- 探測機制依供應商而異:Discord intents + 可選的頻道權限;Slack 機器人 + 使用者 scopes;Telegram 機器人旗標 + webhook;Signal daemon 版本;MS Teams 應用程式權杖 + Graph 角色/scopes(已於可知處標註)。未啟用探測的頻道將顯示
Probe: unavailable。 Channels without probes reportProbe: unavailable.
將名稱解析為 ID
使用提供者目錄將頻道/使用者名稱解析為 ID:- 使用
--kind user|group|auto強制指定目標類型。 - Resolution prefers active matches when multiple entries share the same name.