feat(channel): telegram first version

This commit is contained in:
zhayujie
2026-05-28 12:10:00 +08:00
parent f39380cea7
commit d106465419
11 changed files with 867 additions and 2 deletions

View File

@@ -39,6 +39,9 @@ def create_channel(channel_type) -> Channel:
elif channel_type == const.QQ:
from channel.qq.qq_channel import QQChannel
ch = QQChannel()
elif channel_type == const.TELEGRAM:
from channel.telegram.telegram_channel import TelegramChannel
ch = TelegramChannel()
elif channel_type in (const.WEIXIN, "wx"):
from channel.weixin.weixin_channel import WeixinChannel
ch = WeixinChannel()