Code Monkey home page Code Monkey logo

Comments (6)

hexsum avatar hexsum commented on May 18, 2024

@Xuanwo
本地登录期间(也就是你下次扫描二维码重新登录之前)微信群的id是不变的,重新扫描二维码登录群的id可能会发生变化

name属性就是手机微信里的【群聊名称】,但你会发现你随便拉张三、李四建一个群聊,【群聊名称】通常显示为“未命名”,也就是空的

而你手机上看到的群名称通常会叫做 张三、李四...(也就是所谓的displayname

直到你重新设置了群聊名称,name属性才会变成你设置的

简而言之,displayname就是你手机上显示的群聊名称,name是手动设置的群聊名称,如果没有设置就为空

from mojo-weixin.

Xuanwo avatar Xuanwo commented on May 18, 2024

@sjdy521 非常感谢,那你文档中此处是不是有些问题?
https://github.com/sjdy521/Mojo-Weixin/blame/master/API.md#L159

这个Markname是就是指displayname么?我不管用name还是displayname都没有发送成功,id+content是可以的。

from mojo-weixin.

hexsum avatar hexsum commented on May 18, 2024

微信群没有markname属性,我的文档有错误,可以用displayname来发消息
/openwx/send_group_message?displayname=xxx&content=xxx
文档错误我已修复

from mojo-weixin.

Xuanwo avatar Xuanwo commented on May 18, 2024

@sjdy521 Very nice!
我回去再研究研究,叨扰啦。

from mojo-weixin.

hexsum avatar hexsum commented on May 18, 2024

有什么问题随时欢迎,也可以加群交流

from mojo-weixin.

Xuanwo avatar Xuanwo commented on May 18, 2024

OK

from mojo-weixin.

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.