获取群组成员信息
<p><strong>接口说明:</strong> </p>
<ul>
<li>发送获取群组成员信息消息</li>
</ul>
<p><strong>接口TYPE:</strong> </p>
<ul>
<li><code>MT_DATA_CHATROOM_MEMBERS_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;room_wxid&quot;: &quot;xxxxxxx&quot;, // 传入群聊wxid
},
&quot;type&quot; : MT_DATA_CHATROOM_MEMBERS_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;">见下方的示例</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>userInfo参数说明:</p>
<pre><code> userInfo(好友信息结构)
{
&quot;wxid&quot;: &quot;wxid&quot;, //wxid
&quot;account&quot;: &quot;xxxxx&quot;, //微信号(有可能为空)
&quot;nickname&quot;:&quot;xxxxx&quot;, //微信昵称
&quot;remark&quot; :&quot;xxxx&quot;, //好友备注
&quot;avatar&quot;:&quot;http://xxxxxxxx&quot; //头像的url地址
&quot;sex&quot; : 0 , //性别:0或者1,默认是0,1代表女性
&quot;country&quot;:&quot;xxx&quot;, //祖国(可能为空)
&quot;province&quot;:&quot;xxxx&quot;, //省份(可能为空)
&quot;city&quot;:&quot;xxxxx&quot; //城市(可能为空)
}</code></pre>
<p><strong>返回JSON示例</strong></p>
<pre><code>{
&quot;data&quot; : {
&quot;group_wxid&quot; : &quot;4932890884@chatroom&quot;,
&quot;total&quot; : 2, // 成员数
&quot;member_list&quot; : [
{
&quot;account&quot; : &quot;&quot;,
&quot;avatar&quot; : &quot;http://xxxxxxx&quot;,
&quot;city&quot; : &quot;&quot;,
&quot;country&quot; : &quot;&quot;,
&quot;nickname&quot; : &quot;xxxxx&quot;,
&quot;province&quot; : &quot;&quot;,
&quot;remark&quot; : &quot;&quot;,
&quot;sex&quot; : 0,
&quot;wxid&quot; : &quot;xxxxxxx&quot;
},
{
&quot;account&quot; : &quot;&quot;,
&quot;avatar&quot; : &quot;http:/xxxxx&quot;,
&quot;city&quot; : &quot;&quot;,
&quot;country&quot; : &quot;&quot;,
&quot;nickname&quot; : &quot;xxxx&quot;,
&quot;province&quot; : &quot;&quot;,
&quot;remark&quot; : &quot;&quot;,
&quot;sex&quot; : 0,
&quot;wxid&quot; : &quot;wxid_xxxxx&quot;
}
]
},
&quot;type&quot; : MT_DATA_CHATROOM_MEMBERS_MSG
}
}</code></pre>