Comments (3)
你可以测试下,一般是以urlLink类型消息收到的
from wechatbot-webhook.
@danni-cool 你好,我测试了,推送发过来,命令行是空的状态。
from wechatbot-webhook.
你得配置收消息api才会给你推送消息,api收到的结构大概长这样
"source":
"{"room":"","to":{"_events":{},"_eventsCount":0,"id":"@c11765997b781b129b0eb1b96ab956f67edf","payload":{"alias":"","avatar":"/cgi-bin/mmwebwx-bin/webwxgeticon?seq=131276&username=@c117651231b129b0fbee4d956f67edf&skey=@crypt_a3e59205_089eb93","friend":false,"gender":1,"id":"@c11765997b781b12asdfs96ab97edf","name":"danni-cool","phone":[],"signature":"","star":false,"type":1}},"from":{"_events":{},"_eventsCount":0,"id":"@2f8ccf3ebd","payload":{"address":"","alias":"","avatar":"/cgi-bin/mmwebwx-bin/webwxgeticon?seq=69&username=@2f15a37bd&skey=@crypt_ab2bd93","city":"","friend":true,"gender":0,"id":"@2f81a715ce15a37bd","name":"测试公众号","phone":[],"province":"","signature":"","star":false,"weixin":"","type":2}}}",
"isSystemEvent": "0",
"isMentioned": "0",
"type": "urlLink",
"content": "{"description":"这是一篇测试文章,由daniel-cool编写","thumbnailUrl":"https://mmbiz.qpic.cn/sz_mmbiz_jpg/sdfsfd5mw/640?wxtype=jpeg&wxfrom=0","title":"测试文章1","url":"http://mp.weixin.qq.com/s?__biz=MyMA==&mid=100017&idx=1&sn=a4529&chksm=40165d746ea&scene=0&xtrack=2&previewkey=A5Dc53D#rd"}"
}
交流可以在discord上找我 https://discord.gg/e7VbNAAn
from wechatbot-webhook.
Related Issues (20)
- 在一定时间段内,发送消息时,可以重用媒体文件 HOT 2
- BUG: 重启服务后设置的LOGIN_API_TOKEN失效 HOT 13
- 如何将chatgpt接入wechatbot-webhook机器人 HOT 4
- 如何与微信公众号的菜单交互 HOT 8
- 可以判断消息是否引用(回复)了某个消息吗? HOT 1
- 是否考虑支持消息撤回检测? HOT 1
- 发送图片偶尔失败 HOT 3
- help /healthz HOT 6
- 微信 ID 是否会变? HOT 1
- 日志中一直报错 `[ERROR] - uncaughtException SyntaxError: Unexpected end of JSON input` HOT 5
- 无法主动发送消息 HOT 1
- 登录了一段时间之后断线:AssertionError: 3 == 0 HOT 4
- 如何接收file类型的消息呢 HOT 17
- 接收 .doc 和 .xls 后缀的文档会出现错误【看图片】
- 文档关于`接收消息 Api 直接回复`的案例好像有错 HOT 1
- internal server error?
- AssertionError [ERR_ASSERTION]: -1 == 0 HOT 1
- [email protected]已发布可以升级 HOT 1
- puppet problem HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wechatbot-webhook.