Skip to content

Commit 9da8f15

Browse files
Kauid323yyyytawa
authored andcommitted
add:转发消息
1 parent 4a8819a commit 9da8f15

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

src/api/v1/msg.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -986,3 +986,37 @@ POST /v1/msg/file-download-record
986986
"msg": "success" // 返回消息
987987
}
988988
```
989+
990+
## 转发消息
991+
992+
POST v1/msg/msg-forward
993+
994+
请求头:
995+
996+
| 名称 | 必须 | 备注 |
997+
| ----- | ---- | ---- |
998+
| token |||
999+
1000+
请求体:
1001+
1002+
```JSONC
1003+
{
1004+
"msgId": "e22342a5a1a54f03bc3xxxxxxxxxxxx", // 被转发的消息msgId
1005+
"chatType": 2, // 被转发消息的会话类型
1006+
"receive": [
1007+
{
1008+
"chatId": "1234567", // 要转发到的会话id
1009+
"chatType": 1 // 要转发到的会话类型
1010+
}
1011+
]
1012+
}
1013+
```
1014+
1015+
响应体:
1016+
1017+
```JSONC
1018+
{
1019+
"code": 1, // 请求状态码,1为正常
1020+
"msg": "success" // 返回消息
1021+
}
1022+
```

0 commit comments

Comments
 (0)