Telegram 与飞书渠道插件
安装渠道插件、配置接收凭据并检查真实连接状态。
安装插件
先完成初始化并启动daemon。第一方插件:
openmybot plugins add --built-in telegram
openmybot plugins add --built-in feishu
openmybot plugins list --jsonopenmybot plugins add --built-in telegram
openmybot plugins add --built-in feishu
openmybot plugins list --json从本机目录安装其他受信任插件:
openmybot plugins add /absolute/path/to/pluginopenmybot plugins add /absolute/path/to/plugin内置选项从与主程序同目录的二进制安装,不是在线下载命令。插件未安装时不能先配对该渠道。
配置接收凭据
openmybot bindings receiver telegram
openmybot bindings receiver feishuopenmybot bindings receiver telegram
openmybot bindings receiver feishu命令按插件声明的字段逐项读取标准输入;交互终端中的秘密字段不回显。按插件实际提示填写,不把token、app secret拼入命令参数、聊天或截图。无交互管道模式每个字段一行,顺序以插件声明为准。
Telegram和飞书还需要各自平台上的机器人配置与权限。具体字段、事件订阅和可用区域以安装的插件及平台当前设置为准;不要把普通网页版登录当作机器人凭据。
配对工作目录
openmybot pair telegram --workspace /absolute/path/to/workspace
openmybot bindings list --jsonopenmybot pair telegram --workspace /absolute/path/to/workspace
openmybot bindings list --json飞书将渠道名换成 feishu。按配对结果完成渠道侧步骤,核对绑定目标和工作目录,再尝试低风险消息任务。权限请求由所有者处理,见运行与审批。
状态与移除
通过 plugins list 和 status 查看插件和接收状态。接收成功、执行成功、结果外发成功是不同环节,应逐项核对。
openmybot plugins remove telegramopenmybot plugins remove telegram移除前检查绑定及正在进行的工作。真实Telegram/飞书渠道复核仍有待完成项,不能把本地测试结果解释为全渠道生产保证。