ForcePilot/backend/package/yuxi/channel/extensions/telegram/plugin.json

34 lines
1.1 KiB
JSON
Raw Normal View History

{
"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"
}