新增钉钉机器人(Stream模式)

This commit is contained in:
惠文
2023-11-30 10:41:34 +08:00
parent da87fd9e20
commit f6bee3aa58
6 changed files with 200 additions and 2 deletions

View File

@@ -40,5 +40,8 @@ def create_channel(channel_type):
elif channel_type == const.FEISHU:
from channel.feishu.feishu_channel import FeiShuChanel
return FeiShuChanel()
elif channel_type == const.DINGTALK:
from channel.dingtalk.dingtalk_channel import DingTalkChanel
return DingTalkChanel()
raise RuntimeError