channels#
usage: openprogram channels [-h] verb ...
channels list#
Show per-platform enable + config status
channels setup#
Interactive wizard — pick channel, log in (QR / token), bind to an agent. One command instead of accounts add + accounts login + bindings add. Channels run inside the background service — start it by running openprogram.
channels accounts#
Manage channel bot accounts (WeChat, Telegram, etc.)
| Subcommand | Description |
|---|---|
channels accounts list |
List every channel account |
channels accounts add |
Create a new channel account and prompt for credentials |
channels accounts rm |
Delete a channel account (also drops its bindings) |
channels accounts login |
Re-run the login flow for an account (e.g. WeChat QR) |
channels accounts set |
Set an account behavior setting (e.g. telegram group semantics: group_sessions=shared|per-user, require_mention=on|off). Restart the worker to apply. |
channels access#
Inbound sender access control: allowlist + pairing codes. Unknown senders get a pairing code instead of driving the agent; approve them here (never from the chat itself). An account takes any number of approved senders — they share one agent and one memory, which records who said what.
| Subcommand | Description |
|---|---|
channels access list |
Show policy, allowlist and pending pairing codes |
channels access approve |
Approve a pending sender by pairing code |
channels access allow |
Allowlist a platform user id directly (no pairing code needed) |
channels access revoke |
Remove a sender from the allowlist (and pending list) |
channels bindings#
Route inbound channel messages to agents
| Subcommand | Description |
|---|---|
channels bindings list |
Show every routing rule |
channels bindings add |
Add a binding: inbound messages matching (channel, account, optional peer) go to the given agent |
channels bindings rm |
Remove a binding by its id (see bindings list) |