获取群组信息
<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>{
&quot;data&quot; : {},
&quot;type&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(群信息结构)
{
&quot;wxid&quot;: &quot;wxid&quot;, //wxid
&quot;nickname&quot;: &quot;xxxxx&quot;, //微信昵称
&quot;avatar&quot;:&quot;http://xxxxxxxx&quot;, //头像的url地址
&quot;manager_wxid&quot; :&quot;xxxx&quot;, //群主的wxid
&quot;total_member&quot;:100 //该群成员总数
&quot;is_manager&quot; : 0 , //自己是否为群主:0不是,1是
&quot;member_list&quot;: [&quot;wxid_xxxxx&quot;,&quot;wxid_xxxxx&quot;, ......]
}</code></pre>
<p><strong>返回JSON示例</strong></p>
<pre><code>{
&quot;data&quot; : [
{
&quot;wxid&quot; : &quot;xxxxx&quot;,
&quot;nickname&quot; : &quot;群组名称&quot;,
&quot;avatar&quot; : &quot;http://xxxxx&quot;,
&quot;manager_wxid&quot; : &quot;&quot;,
&quot;total_member&quot; :10,
&quot;is_manager&quot; : 1,
&quot;member_list&quot;: [&quot;wxid_xxxxx&quot;,&quot;wxid_xxxxx&quot;, ......]
},
{
&quot;wxid&quot; : &quot;xxxxx&quot;,
&quot;nickname&quot; : &quot;群组名称&quot;,
&quot;avatar&quot; : &quot;http://xxxxx&quot;,
&quot;manager_wxid&quot; : &quot;&quot;,
&quot;total_member&quot; :10,
&quot;is_manager&quot; : 1,
&quot;member_list&quot;: [&quot;wxid_xxxxx&quot;,&quot;wxid_xxxxx&quot;, ......]
},
],
&quot;type&quot; : MT_DATA_CHATROOMS_MSG
}</code></pre>