Documentation Index
Fetch the complete documentation index at: https://docs.openclaw.ai/llms.txt
Use this file to discover all available pages before exploring further.
openclaw directory
支援目錄查詢的通道查詢(聯絡人/對等方、群組,以及「me」)。
常用旗標
--channel <name>:通道 ID/別名(設定多個通道時為必要;只設定一個通道時自動使用)--account <id>:帳號 ID(預設:通道預設值)--json:輸出 JSON
注意事項
directory用於協助你找出可貼到其他命令中的 ID(特別是openclaw message send --target ...)。- 對許多通道而言,結果是由設定支援(允許清單/已設定的群組),而不是即時提供者目錄。
- 預設輸出是以 Tab 分隔的
id(有時也包含name);編寫指令碼時請使用--json。
搭配 message send 使用結果
ID 格式(依通道)
- WhatsApp:
+15551234567(DM)、1234567890-1234567890@g.us(群組) - Telegram:
@username或數字聊天 ID;群組為數字 ID - Slack:
user:U…和channel:C… - Discord:
user:<id>和channel:<id> - Matrix(Plugin):
user:@user:server、room:!roomId:server,或#alias:server - Microsoft Teams(Plugin):
user:<id>和conversation:<id> - Zalo(Plugin):使用者 ID(Bot API)
- Zalo Personal /
zalouser(Plugin):來自zca的對話串 ID(DM/群組)(me、friend list、group list)