feat(im): 新增QQBot即时通讯平台集成支持

完整实现QQBot的IM适配器功能,包括客户端封装、WebSocket长连接管理、消息收发与事件解析;更新后端合法平台校验列表与适配器注册配置;补充前端平台选型选项、logo资源、多语言文案以及渠道配置表单,同时添加对应的单元测试。
This commit is contained in:
YS-zdck
2026-06-26 15:35:13 +08:00
committed by lyingbug
parent 974ca359e5
commit b8ce6a699c
18 changed files with 766 additions and 8 deletions
+5 -1
View File
@@ -5303,7 +5303,7 @@ export default {
},
im: {
title: 'IM Integration',
description: 'Connect agent to instant messaging platforms like WeCom, Feishu, Slack, Telegram, DingTalk, Mattermost and WeChat',
description: 'Connect agent to instant messaging platforms like WeCom, Feishu, Slack, Telegram, DingTalk, Mattermost, WeChat and QQBot',
feishu: 'Feishu',
slack: 'Slack',
telegram: 'Telegram',
@@ -5311,6 +5311,7 @@ export default {
mattermost: 'Mattermost',
wecom: 'WeCom',
wechat: 'WeChat',
qqbot: 'QQBot',
addChannel: 'Add Channel',
channelsTitle: 'IM Channels',
disabled: 'Disabled',
@@ -5336,6 +5337,9 @@ export default {
dingtalkCardTemplateId: 'Card Template ID (optional)',
dingtalkCardTemplateIdHint: 'Create an AI Card template at open-dev.dingtalk.com/fe/card to enable streaming output with typewriter effect',
mattermostConsole: 'Mattermost integrations',
qqbotConsole: 'QQ Open Platform',
qqbotAPIBaseURLHint: 'Optional. Leave empty to use the default production API endpoint.',
qqbotGatewayURLHint: 'Optional. Leave empty to fetch the common WebSocket gateway automatically.',
mattermostModeHint: 'Mattermost only supports Webhook mode (outgoing webhook + bot token).',
mattermostPostToMain: 'Post replies in channel timeline',
mattermostPostToMainHint: