工作原理
核心特性
- 所有现有功能自动生效:路由规则、LLM 路由、Source-NAT、消息追踪
- 双向通信 — 机器人发出的消息会发送回源协议
- 维护聊天和消息映射,用于线程和回复上下文
- 合成聊天/用户 ID 避免与真实 Telegram ID 冲突
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
将外部消息协议桥接到 Telegram 机器人
External Protocol BotMux Telegram
│ │ │
│ incoming message │ │
├─────────────────────────────►│ translate to Telegram Update │
│ │ inject into processUpdate() │
│ ├──────────────────────────────►│
│ │ │ bot processes
│ │◄──────────────────────────────┤ bot replies
│ outgoing message │ │
│◄─────────────────────────────┤ send via protocol API │
此页面对您有帮助吗?