openclaw channels

Gateway上のチャットチャネルアカウントとそのランタイムステータスを管理します。

関連ドキュメント:

一般的なコマンド

openclaw channels list
openclaw channels status
openclaw channels capabilities
openclaw channels capabilities --channel discord --target channel:123
openclaw channels resolve --channel slack "#general" "@jane"
openclaw channels logs --channel all

アカウントの追加 / 削除

openclaw channels add --channel telegram --token <bot-token>
openclaw channels remove --channel telegram --delete

ヒント: openclaw channels add --helpは、チャネルごとのフラグ(token、app token、signal-cliパスなど)を表示します。

ログイン / ログアウト(対話式)

openclaw channels login --channel whatsapp
openclaw channels logout --channel whatsapp

トラブルシューティング

  • openclaw status --deepを実行して、広範囲にプローブします。
  • openclaw doctorを使用して、ガイド付き修正を行います。
  • openclaw channels listClaude: HTTP 403 ... user:profileと表示 → 使用量スナップショットにはuser:profileスコープが必要です。--no-usageを使用するか、claude.aiセッションキー(CLAUDE_WEB_SESSION_KEY / CLAUDE_WEB_COOKIE)を提供するか、Claude Code CLI経由で再認証してください。

Capabilitiesプローブ

プロバイダーのcapabilityヒント(利用可能な場合はintents/scopes)と静的機能サポートを取得:

openclaw channels capabilities
openclaw channels capabilities --channel discord --target channel:123

注意事項:

  • --channelはオプションです。省略すると、すべてのチャネル(拡張機能を含む)を一覧表示します。
  • --targetchannel:<id>または生の数値チャネルIDを受け入れ、Discordにのみ適用されます。
  • プローブはプロバイダー固有です: Discordのintents + オプションのチャネル権限; Slackのbot + userスコープ; Telegramのbotフラグ + webhook; Signalデーモンバージョン; MS TeamsのアプリトークンとGraphのroles/scopes(既知の場合は注釈付き)。プローブのないチャネルはProbe: unavailableを報告します。

名前を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を使用して、ターゲットタイプを強制します。
  • 複数のエントリが同じ名前を共有している場合、解決はアクティブな一致を優先します。