We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
from wxauto import WeChat
wx = WeChat() listen_list = ['] for i in listen_list: wx.AddListenChat(who=i)
msgs = wx.GetListenMessage() for chat in msgs: one_msgs = msgs.get(chat) # 获取消息内容 for msg in one_msgs: if msg.type == 'sys': print(f'【系统消息】{msg.content}') elif msg.type == 'friend':` chat.members=chat.GetGroupMembers() #此处无法获取到
The text was updated successfully, but these errors were encountered:
No branches or pull requests
from wxauto import WeChat
wx = WeChat()
listen_list = [']
for i in listen_list:
wx.AddListenChat(who=i)
msgs = wx.GetListenMessage()
for chat in msgs:
one_msgs = msgs.get(chat) # 获取消息内容
for msg in one_msgs:
if msg.type == 'sys':
print(f'【系统消息】{msg.content}')
elif msg.type == 'friend':`
chat.members=chat.GetGroupMembers() #此处无法获取到
The text was updated successfully, but these errors were encountered: