channels
openclaw channels
Section titled “openclaw channels”管理网关上的聊天频道账户及其运行时状态。
相关文档:
- 频道指南: Channels
- 网关配置: Configuration
openclaw channels listopenclaw channels statusopenclaw channels capabilitiesopenclaw channels capabilities --channel discord --target channel:123openclaw channels resolve --channel slack "#general" "@jane"openclaw channels logs --channel all添加 / 删除账户
Section titled “添加 / 删除账户”openclaw channels add --channel telegram --token <bot-token>openclaw channels remove --channel telegram --delete提示: openclaw channels add --help 显示每个频道的标志 (令牌, 应用令牌, signal-cli 路径等)。
登录 / 注销 (交互式)
Section titled “登录 / 注销 (交互式)”openclaw channels login --channel whatsappopenclaw channels logout --channel whatsapp- 运行
openclaw status --deep进行广泛的探测。 - 使用
openclaw doctor进行引导式修复。 openclaw channels list打印Claude: HTTP 403 ... user:profile→ 使用快照需要user:profile范围。使用--no-usage,或提供 claude.ai 会话密钥 (CLAUDE_WEB_SESSION_KEY/CLAUDE_WEB_COOKIE),或通过 Claude Code CLI 重新认证。
获取提供商能力提示 (意图/范围,如果可用) 加上静态功能支持:
openclaw channels capabilitiesopenclaw channels capabilities --channel discord --target channel:123注意:
--channel是可选的;省略它以列出每个频道 (包括扩展)。--target接受channel:<id>或原始数字频道 ID,仅适用于 Discord。- 探测是特定于提供商的: Discord 意图 + 可选频道权限; Slack 机器人 + 用户范围; Telegram 机器人标志 + webhook; Signal 守护进程版本; MS Teams 应用令牌 + Graph 角色/范围 (已知处已注释)。没有探测的频道报告
Probe: unavailable。
将名称解析为 ID
Section titled “将名称解析为 ID”使用提供商目录将频道/用户名解析为 ID:
openclaw channels resolve --channel slack "#general" "@jane"openclaw channels resolve --channel discord "My Server/#support" "@someone"openclaw channels resolve --channel matrix "Project Room"注意:
- 使用
--kind user|group|auto强制目标类型。 - 当多个条目共享相同的名称时,解析首选活动匹配。