feat: add support for wechatcom channel

This commit is contained in:
lanvent
2023-04-20 01:03:04 +08:00
parent 0a7d6e4577
commit 4cbf46fd4d
9 changed files with 187 additions and 7 deletions

View File

@@ -8,7 +8,7 @@ from lib import itchat
from lib.itchat.content import *
class WeChatMessage(ChatMessage):
class WechatMessage(ChatMessage):
def __init__(self, itchat_msg, is_group=False):
super().__init__(itchat_msg)
self.msg_id = itchat_msg["MsgId"]