Skip to content

Commit 15906c7

Browse files
Kauid323QianLin-Jiaxi
authored andcommitted
Create menu.md
1 parent 83cdd9e commit 15906c7

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

src/api/v1/menu.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: menu
3+
---
4+
5+
未特别说明情况下请求域名均为 https://chat-go.jwzhd.com
6+
没写请求/响应项目表示不需要相关参数.
7+
8+
## 点击消息输入框上面按钮的反馈
9+
10+
POST /v1/menu/event
11+
12+
请求头:
13+
14+
|名称|必须|备注|
15+
|-----|-----|-----|
16+
|token|||
17+
18+
请求头:
19+
```JSONC
20+
{
21+
"id": 338, // 按钮id
22+
"chatId": "114514", // 聊天id
23+
"chatType": 2, // 会话类型
24+
"value": "" // 按钮的值
25+
}
26+
```
27+
28+
响应头:
29+
```JSONC
30+
{
31+
"code": 1, // 请求状态码,1为正常
32+
"msg": "success" // 返回消息
33+
}
34+
```

0 commit comments

Comments
 (0)