Merge branch 'master' into feat-client

This commit is contained in:
zhayujie
2024-01-15 22:37:47 +08:00
committed by GitHub
21 changed files with 456 additions and 67 deletions

View File

@@ -36,6 +36,9 @@ def create_channel(channel_type) -> Channel:
elif channel_type == const.FEISHU:
from channel.feishu.feishu_channel import FeiShuChanel
ch = FeiShuChanel()
elif channel_type == const.DINGTALK:
from channel.dingtalk.dingtalk_channel import DingTalkChanel
ch = DingTalkChanel()
else:
raise RuntimeError
ch.channel_type = channel_type