Skip to content

Commit b07dc60

Browse files
Kauid323QianLin-Jiaxi
authored andcommitted
add:设置会话免打扰
1 parent 8a6e71c commit b07dc60

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

src/api/v1/friend.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,3 +246,32 @@ message Response {
246246
```
247247

248248
:::
249+
250+
## 设置会话免打扰
251+
252+
POST /v1/friend/no-notify
253+
254+
请求头:
255+
256+
|名称|必须|备注|
257+
|-----|-----|-----|
258+
|token|||
259+
260+
请求体:
261+
262+
```JSONC
263+
{
264+
"chatId": "118738312", // 会话ID
265+
"noNotify": 0 // 0-取消免打扰,1-设置免打扰
266+
}
267+
```
268+
269+
270+
响应体:
271+
272+
```JSONC
273+
{
274+
"code": 1, // 请求状态码,1为正常
275+
"msg": "success" // 返回消息
276+
}
277+
```

0 commit comments

Comments
 (0)