feat(im): add Yunzhijia integration
This commit is contained in:
@@ -70,6 +70,7 @@ import (
|
||||
"github.com/Tencent/WeKnora/internal/im/telegram"
|
||||
"github.com/Tencent/WeKnora/internal/im/wechat"
|
||||
"github.com/Tencent/WeKnora/internal/im/wecom"
|
||||
"github.com/Tencent/WeKnora/internal/im/yunzhijia"
|
||||
"github.com/Tencent/WeKnora/internal/infrastructure/docparser"
|
||||
infra_web_search "github.com/Tencent/WeKnora/internal/infrastructure/web_search"
|
||||
"github.com/Tencent/WeKnora/internal/logger"
|
||||
@@ -1555,6 +1556,7 @@ func registerIMAdapterFactories(imService *imPkg.Service) {
|
||||
imService.RegisterAdapterFactory("mattermost", mattermost.NewFactory())
|
||||
imService.RegisterAdapterFactory("wechat", wechat.NewFactory())
|
||||
imService.RegisterAdapterFactory("qqbot", qqbot.NewFactory())
|
||||
imService.RegisterAdapterFactory("yunzhijia", yunzhijia.NewFactory())
|
||||
|
||||
// Load and start all enabled channels from database
|
||||
if err := imService.LoadAndStartChannels(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user