import{_ as a,o as e,c as i,ag as s}from"./chunks/framework.DEqXEGcv.js";const k=JSON.parse('{"title":"Channel Commands","description":"","frontmatter":{},"headers":[],"relativePath":"cli/channel.md","filePath":"cli/channel.md","lastUpdated":1771161622000}'),n={name:"cli/channel.md"};function h(l,t,d,o,p,c){return e(),i("div",null,[...t[0]||(t[0]=[s('
Manage channels and bot/user channel configuration.
List available channel types (e.g. telegram, feishu, local).
memoh channel listShow channel metadata and schema for a channel type.
memoh channel info [type]If type is omitted, prompts to select from available channels.
Get a bot's channel configuration.
memoh channel config get [bot_id] [options]| Option | Description |
|---|---|
--type <type> | Channel type |
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) |
Get the current user's channel binding for a platform.
memoh channel bind get [options]| Option | Description |
|---|---|
--type <type> | Channel type |
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 |