xie-full


获取群组信息

<p><strong>接口说明:</strong> </p> <ul> <li>发送获取群组信息消息</li> </ul> <p><strong>接口TYPE:</strong> </p> <ul> <li><code>MT_DATA_CHATROOMS_MSG</code></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> </tr> </thead> <tbody> <tr> <td style="text-align: left;">data</td> <td style="text-align: left;">object</td> <td style="text-align: left;">参见下面的DataJson参数</td> </tr> <tr> <td style="text-align: left;">type</td> <td style="text-align: left;">number</td> <td style="text-align: left;">消息类型</td> </tr> </tbody> </table> <p><strong>JSON示例</strong></p> <pre><code>{ &amp;quot;data&amp;quot; : {}, &amp;quot;type&amp;quot; : MT_DATA_CHATROOMS_MSG }</code></pre> <hr /> <p><strong>返回参数说明</strong></p> <table> <thead> <tr> <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;">data</td> <td style="text-align: left;">array</td> <td style="text-align: left;">是roomInfo类型的数组</td> </tr> <tr> <td style="text-align: left;">type</td> <td style="text-align: left;">number</td> <td style="text-align: left;">消息类型</td> </tr> </tbody> </table> <p>roomInfo参数说明:</p> <pre><code> roomInfo(群信息结构) { &amp;quot;wxid&amp;quot;: &amp;quot;wxid&amp;quot;, //wxid &amp;quot;nickname&amp;quot;: &amp;quot;xxxxx&amp;quot;, //微信昵称 &amp;quot;avatar&amp;quot;:&amp;quot;http://xxxxxxxx&amp;quot;, //头像的url地址 &amp;quot;manager_wxid&amp;quot; :&amp;quot;xxxx&amp;quot;, //群主的wxid &amp;quot;total_member&amp;quot;:100 //该群成员总数 &amp;quot;is_manager&amp;quot; : 0 , //自己是否为群主:0不是,1是 &amp;quot;member_list&amp;quot;: [&amp;quot;wxid_xxxxx&amp;quot;,&amp;quot;wxid_xxxxx&amp;quot;, ......] }</code></pre> <p><strong>返回JSON示例</strong></p> <pre><code>{ &amp;quot;data&amp;quot; : [ { &amp;quot;wxid&amp;quot; : &amp;quot;xxxxx&amp;quot;, &amp;quot;nickname&amp;quot; : &amp;quot;群组名称&amp;quot;, &amp;quot;avatar&amp;quot; : &amp;quot;http://xxxxx&amp;quot;, &amp;quot;manager_wxid&amp;quot; : &amp;quot;&amp;quot;, &amp;quot;total_member&amp;quot; :10, &amp;quot;is_manager&amp;quot; : 1, &amp;quot;member_list&amp;quot;: [&amp;quot;wxid_xxxxx&amp;quot;,&amp;quot;wxid_xxxxx&amp;quot;, ......] }, { &amp;quot;wxid&amp;quot; : &amp;quot;xxxxx&amp;quot;, &amp;quot;nickname&amp;quot; : &amp;quot;群组名称&amp;quot;, &amp;quot;avatar&amp;quot; : &amp;quot;http://xxxxx&amp;quot;, &amp;quot;manager_wxid&amp;quot; : &amp;quot;&amp;quot;, &amp;quot;total_member&amp;quot; :10, &amp;quot;is_manager&amp;quot; : 1, &amp;quot;member_list&amp;quot;: [&amp;quot;wxid_xxxxx&amp;quot;,&amp;quot;wxid_xxxxx&amp;quot;, ......] }, ], &amp;quot;type&amp;quot; : MT_DATA_CHATROOMS_MSG }</code></pre>

页面列表

ITEM_HTML