msg_reply icon indicating copy to clipboard operation
msg_reply copied to clipboard

监听到了接受到的消息但是无法显示,也无法发给admin

Open Tsunami-Song opened this issue 4 years ago • 0 comments

类似下方代码中的信息无法输出发送给admin_wx: if data_type[0] == '1': # 只接受文字 msg_content = message.get('data', {}).get('msg1', '') wx_inst.send_text(admin_wx, '微信收到好友消息\n {} : {} \n信息ID {}'.format( dict_remark_name[from_wxid], msg_content, ID_num)) else: wx_inst.send_text(admin_wx, '微信收到好友{}一张图片或表情包 \n信息ID {}'.format( dict_remark_name[from_wxid], ID_num))

Tsunami-Song avatar Oct 16 '20 05:10 Tsunami-Song