WeChatApi


获取群成员列表

<p><strong>简要描述:</strong></p> <ul> <li>获取群成员列表</li> </ul> <p><strong>请求URL:</strong></p> <ul> <li><code>http://127.0.0.1:8989/api</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST</li> </ul> <p><strong>JSON参数:</strong></p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">是否必选</th> <th style="text-align: left;">类型</th> <th style="text-align: left;">说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">type</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td style="text-align: left;">消息类型</td> </tr> <tr> <td style="text-align: left;">chat_room_id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td style="text-align: left;">群ID</td> </tr> </tbody> </table> <p><strong>发送示例:</strong></p> <pre><code class="language-json">{ &amp;quot;type&amp;quot;: 6, &amp;quot;chat_room_id&amp;quot;: &amp;quot;xxxxx@chatroom&amp;quot; }</code></pre> <p><strong>返回示例:</strong></p> <pre><code class="language-json">{ &amp;quot;data&amp;quot;: { &amp;quot;list&amp;quot;: [ { &amp;quot;wx_id&amp;quot;: &amp;quot;wxid_xxx&amp;quot;, //微信ID &amp;quot;nick_name&amp;quot;: &amp;quot;张三&amp;quot;, //昵称【注意这个不是群内昵称,如需群内昵称,自行调用接口获取】 &amp;quot;avatar_url&amp;quot;: &amp;quot;http://wx.qlogo.cn/mmhead/ver_1/xxx&amp;quot;, //头像地址 &amp;quot;wx_account&amp;quot;: &amp;quot;&amp;quot; //微信账号(不是好友该值为空,没什么太大作用) }, ... ] }, &amp;quot;errmsg&amp;quot;: &amp;quot;OK&amp;quot;, &amp;quot;errno&amp;quot;: 0 }</code></pre>

页面列表

ITEM_HTML