ForcePilot/backend/package/yuxi/channel/extensions/telegram/plugin.json
Kris 8a3601250e feat(channel): 添加 Telegram 渠道扩展
新增 Telegram 渠道扩展,支持在 Yuxi 平台中集成 Telegram 即时通讯渠道。

包含以下功能模块:
- config: 渠道配置管理
- gateway: SSE/WebSocket 网关接入
- webhook: Webhook 事件处理
- polling: 长轮询模式
- outbound: 外发消息管理
- streaming: 流式消息处理
- pairing: 用户配对与绑定
- security: 安全校验
- dedupe: 消息去重
- monitor: 渠道状态监控
- status: 会话状态管理
- session: 会话管理
- actions: 动作处理
- inline_keyboard: 内联键盘
- native_commands: 原生指令
- chat: 聊天管理
- delivery: 消息送达确认
- media: 媒体资源处理
- profile: 用户资料
- reactions: 表情反应
- sticker: 贴纸处理
- types: 类型定义
2026-05-21 11:48:09 +08:00

34 lines
1.1 KiB
JSON

{
"id": "telegram",
"name": "Telegram",
"version": "0.3.0",
"description": "Telegram Bot API 渠道插件,支持 Long Polling / Webhook 双模式,私聊、群组、话题线程全场景覆盖",
"author": "ForcePilot Team",
"order": 40,
"dependencies": ["httpx>=0.27.0"],
"capabilities": {
"chat_types": ["direct", "group", "thread"],
"message_types": ["text", "image", "voice", "file", "video"],
"interactions": ["button", "command"],
"reactions": true,
"typing_indicator": true,
"threads": true,
"edit": true,
"unsend": true,
"reply": true,
"media": true,
"native_commands": true,
"polls": true,
"streaming": true,
"streaming_mode": "preview",
"block_streaming": true,
"block_streaming_chunk_min_chars": 800,
"block_streaming_chunk_max_chars": 1200,
"block_streaming_coalesce_min_chars": 400,
"block_streaming_coalesce_max_chars": 800,
"tts": {"voice": {"synthesisTarget": "voice-note"}}
},
"enabled": true,
"python_requires": ">=3.12"
}