docs: update

This commit is contained in:
tangtaoit 2023-12-17 00:54:18 +08:00
parent 6ad03bed91
commit 6bdf24c3a9
2 changed files with 4 additions and 4 deletions

View File

@ -164,7 +164,7 @@ http status为200
## 添加白名单
如果设置了白名单,则只允许白名单内的订阅者发送消息。可以通过白名单机制实现“群禁言功能”
如果设置了白名单,则只允许白名单内的订阅者发送消息。可以通过白名单机制实现“群禁言功能”,也可以通过白名单实现只允许跟好友聊天的功能
> POST /channel/whitelist_add
@ -172,7 +172,7 @@ http status为200
```json
{
"channel_id": "xxxx", // 频道的唯一ID
"channel_id": "xxxx", // 频道的唯一ID 个人频道则为用户的uid
"channel_type": 2, // 频道的类型 1.个人频道 2.群聊频道
"uids": [uid1,uid2,...], // 用户uid集合
}

View File

@ -69,12 +69,12 @@
<td>收到消息确认的报文(s2c)</td>
</tr>
<tr>
<td>RECVEIVED</td>
<td>RECV</td>
<td >5</td>
<td>收取消息(s2c)</td>
</tr>
<tr>
<td>REVACK</td>
<td>RECVACK</td>
<td >6</td>
<td>收取消息确认(c2s)</td>
</tr>