crocbot directory
Directory lookups for channels that support it (contacts/peers, groups, and “me”).
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)--json: output JSON
Notes
directoryis meant to help you find IDs you can paste into other commands (especiallycrocbot message send --target ...).- For many channels, results are config-backed (allowlists / configured groups) rather than a live provider directory.
- Default output is
id(and sometimesname) separated by a tab; use--jsonfor scripting.
Using results with message send
ID formats (by channel)
- Telegram:
@usernameor numeric chat id; groups are numeric ids
