fased directory
Use directory when you need stable IDs for contacts, groups, or the current account on a channel that exposes directory data.
Common flags
--channel <name>: channel id/alias (required when multiple channels are configured; auto when only one is configured)--account <id>: account id (default: channel default)--query <text>: filter peer/group list results when supported--limit <n>: cap peer/group list results--json: output JSON
Notes
directoryis meant to help you find IDs you can paste into other commands (especiallyfased message send --target ...).- For many channels, results are config-backed (allowlists / configured groups) rather than a live provider directory.
- Default output is a compact table; use
--jsonfor scripting. - If a channel adapter does not expose self, peers, groups, or members, the command reports that the directory capability is unsupported for that channel.
Using results with message send
ID formats (by channel)
- WhatsApp:
+15551234567(DM),[email protected](group) - Telegram:
@usernameor numeric chat id; groups are numeric ids - Slack:
user:U…andchannel:C… - Discord:
user:<id>andchannel:<id> - Matrix:
user:@user:server,room:!roomId:server, or#alias:server - Microsoft Teams:
user:<id>andconversation:<id> - Zalo: user id (Bot API)
- Zalo Personal /
zalouser: thread id (DM/group) fromzca(me,friend list,group list)