mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
1.5 KiB
1.5 KiB
Channel Commands
Manage channels and bot/user channel configuration.
channel list
List available channel types (e.g. telegram, feishu, local).
memoh channel list
channel info
Show channel metadata and schema for a channel type.
memoh channel info [type]
If type is omitted, prompts to select from available channels.
channel config get
Get a bot's channel configuration.
memoh channel config get [bot_id] [options]
| Option | Description |
|---|---|
--type <type> |
Channel type |
channel config set
Set a bot's channel configuration. Currently supports Feishu.
memoh channel config set [bot_id] [options]
| Option | Description |
|---|---|
--type <type> |
Channel type (e.g. feishu) |
--app_id <id> |
Feishu App ID |
--app_secret <secret> |
Feishu App Secret |
--encrypt_key <key> |
Encrypt key (optional) |
--verification_token <token> |
Verification token (optional) |
channel bind get
Get the current user's channel binding for a platform.
memoh channel bind get [options]
| Option | Description |
|---|---|
--type <type> |
Channel type |
channel bind set
Set the current user's channel binding. Currently supports Feishu (open_id or user_id).
memoh channel bind set [options]
| Option | Description |
|---|---|
--type <type> |
Channel type (e.g. feishu) |
--open_id <id> |
Feishu Open ID |
--user_id <id> |
Feishu User ID |