feat(im): add Telegram platform integration

Add Telegram Bot API adapter supporting both webhook and long-polling
modes with streaming replies via editMessageText, file download via
getFile API, and timing-safe secret token verification.
This commit is contained in:
nullkey
2026-03-24 16:48:13 +08:00
committed by lyingbug
parent f0c6d0752a
commit aea0a97be3
12 changed files with 625 additions and 12 deletions
+3 -1
View File
@@ -3157,10 +3157,11 @@ export default {
},
im: {
title: "IM 集成",
description: "将智能体接入即时通讯平台,支持企业微信、飞书和Slack",
description: "将智能体接入即时通讯平台,支持企业微信、飞书、Slack和Telegram",
wecom: "企业微信",
feishu: "飞书",
slack: "Slack",
telegram: "Telegram",
addChannel: "添加渠道",
editChannel: "编辑渠道",
deleteConfirm: "确定删除该渠道?删除后无法恢复。",
@@ -3178,6 +3179,7 @@ export default {
wecomConsole: "企业微信管理后台",
feishuConsole: "飞书开放平台",
slackConsole: "Slack API 控制台",
telegramConsole: "Telegram BotFather",
modeHint: "推荐使用 WebSocket 方式接入,配置更简单",
consoleTip: "前往获取凭证信息",
fileKnowledgeBase: "文件保存知识库",