feat: itchat support picture msg

This commit is contained in:
lanvent
2023-04-09 00:45:42 +08:00
parent 3174b1158c
commit 8779eab36b
4 changed files with 17 additions and 3 deletions

View File

@@ -170,6 +170,8 @@ class ChatChannel(Channel):
reply = self._generate_reply(new_context)
else:
return
elif context.type == ContextType.IMAGE: # 图片消息,当前无默认逻辑
pass
else:
logger.error('[WX] unknown context type: {}'.format(context.type))
return