新增飞书应用通道

- 支持自建机器人的私聊和群聊
 - 支持图片生成
 - 支持文件总结
This commit is contained in:
Saboteur7
2023-11-21 22:41:54 +08:00
parent 061d8a3a5f
commit 86a58c3d80
8 changed files with 371 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
"""
channel factory
"""
from common import const
def create_channel(channel_type):
"""
@@ -35,6 +35,10 @@ def create_channel(channel_type):
return WechatComAppChannel()
elif channel_type == "wework":
from channel.wework.wework_channel import WeworkChannel
return WeworkChannel()
elif channel_type == const.FEISHU:
from channel.feishu.feishu_channel import FeiShuChanel
return FeiShuChanel()
raise RuntimeError