ntchat icon indicating copy to clipboard operation
ntchat copied to clipboard

微信SDK, Python微信机器人SDK, Python微信WebApi接口

Results 9 ntchat issues
Sort by recently updated
recently updated
newest added

大佬,如果收到一条信息,怎样才能知道是谁发的这个信息

help wanted

大佬你提供的微信客户端没法自动下载视频,所以我没法从video这个字段的路径拿到视频文件。请问message中的raw_msg能解析吗?有没有办法能实现视频自动下载?因为我想把视频和图片都存NAS,现在图片是实现了。

help wanted

python小白请教下为什么@wechat.msg_register这个注解方法里面的代码没法debug。并且@wechat.msg_register方法调用我引用的其他python文件,在这些文件中我也没法debug。

bug

itchat有个send_raw_msg api,但是目前ntchat没有。

感谢大佬,想向大佬咨询,是否有以下功能的方法: 1.有方法能检测到微信系统消息吗?比如下图的“操作过于频繁,可稍后再试” ![img_v2_02d78fe6-6085-4e85-9deb-1a40b3a7144g](https://user-images.githubusercontent.com/52672986/197212106-ce7587d9-2de5-450e-8892-ba0683794062.jpg) 2.能检测到发送文件失败 ![img_v2_5b6b5c67-9a3a-4e17-959a-2cc856b5cdbg](https://user-images.githubusercontent.com/52672986/197212194-b00ea0ac-bf9b-4be1-8594-bc7f5f629f08.jpg) 感谢大佬!

监听消息的同时如何在某个时间触发定时任务发送一条消息 ------------------------------------------ 1.监听消息用于自动回复某些关键词 2.定时任务(每天只触发一次) --------------------------------------------- 之前写在消息回调的事件里,判断(当前时间==8:00:00)触发,但是有时消息回调事件刚好不在那一秒运行就会不触发 后改为(当前时间>8:00:00 and 8:00:10

打包用的 pyinstaller -F --collect-data=ntchat .\send_text_ui.py 4830 INFO: Looking for dynamic libraries Traceback (most recent call last): File "d:\python\python37\lib\site-packages\PyInstaller\isolated\_parent.py", line 337, in call return isolated.call(function, *args, **kwargs) File "d:\python\python37\lib\site-packages\PyInstaller\isolated\_parent.py", line 266,...

程序会定时调用set_backurl接口,但是一段时间后fastapi端口还在监听,已经无法响应。

![image](https://user-images.githubusercontent.com/51154276/195136456-b1d5d694-e387-41aa-9f6e-3cfd74e33e44.png) 如上图所示,debug中会重复回调2次11200代码,以及缓存也不能被及时清理?导致之前修改过名片的也会被debug回来