refactor: stripp processing unrelated to channel

This commit is contained in:
lanvent
2023-03-31 22:31:10 +08:00
parent 50a03e7c15
commit 87df588c80
4 changed files with 267 additions and 245 deletions

View File

@@ -1,6 +1,7 @@
"""
本类表示聊天消息用于对itchat和wechaty的消息进行统一的封装
ChatMessage
msg_id: 消息id
create_time: 消息创建时间
@@ -13,7 +14,7 @@ from_user_nickname: 发送者昵称
to_user_id: 接收者id
to_user_nickname: 接收者昵称
other_user_id: 对方的id如果你是发送者那这个就是接收者id如果你是接收者那这个就是发送者id
other_user_id: 对方的id如果你是发送者那这个就是接收者id如果你是接收者那这个就是发送者id如果是群消息那这一直是群id
other_user_nickname: 同上
is_group: 是否是群消息