Giter VIP home page Giter VIP logo

Comments (3)

danni-cool avatar danni-cool commented on June 10, 2024

你可以测试下,一般是以urlLink类型消息收到的

from wechatbot-webhook.

woshizhangxiaohao avatar woshizhangxiaohao commented on June 10, 2024

@danni-cool 你好,我测试了,推送发过来,命令行是空的状态。

from wechatbot-webhook.

danni-cool avatar danni-cool commented on June 10, 2024

你得配置收消息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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.