方法_开关群聊邀请确认
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>方法_开关群聊邀请确认</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://localhost:30001/ChatRoomInviteCfg</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">gid</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>群ID</td>
</tr>
<tr>
<td style="text-align: left;">opt</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>操作开关 0=关闭 2=开启</td>
</tr>
</tbody>
</table>
<h5>发送示例(开启)</h5>
<pre><code>{
&quot;gid&quot;: &quot;25715324622@chatroom&quot;,
&quot;opt&quot;: &quot;2&quot;
}</code></pre>
<h5>发送示例(关闭)</h5>
<pre><code>{
&quot;gid&quot;: &quot;25715324622@chatroom&quot;,
&quot;opt&quot;: &quot;0&quot;
}</code></pre>
<h5>返回示例</h5>
<pre><code>{
&quot;ChatRoomInviteCfg&quot;: &quot;2&quot;
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">ChatRoomInviteCfg</td>
<td style="text-align: left;">string</td>
<td>返回 opt操作值</td>
</tr>
</tbody>
</table>
<p>开启后的效果
<img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=992a77186a62ed7c026840ea85de3443&amp;file=file.jpg" alt="" /></p>