dsh-tg-tools:用 Bot API 把 Telegram 接到 DSH 会话

dsh-tg-tools 是 dshbot-by-TingXia 维护的 DSH 联网插件(v1.0.1,MIT)。仅走 Telegram Bot API,无需 MTProto 与手机号登录;以独立 cordis 组件提供列 chat、读本地缓存、发消息与媒体、reaction、转发编辑删除、成员与 typing,以及可选 getUpdates 收消息并唤醒目标会话。安装命令为 dsh plugin --profile <profile> add github:dshbot-by-TingXia/dsh-tg-tools;配置在 ~/.dsh/tg-tools-config.json。需注意 Bot API 能力边界、chat 白名单 fail-closed 唤醒策略及同一 token 不可双轮询。

阅读全文