Skip to content
This repository was archived by the owner on Aug 2, 2020. It is now read-only.

Commit b76d18e

Browse files
committed
Update docs for v3.3.1
1 parent fe14dc3 commit b76d18e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/3.3/Post.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ X-Signature: sha1=f9ddd4863ace61e64f462d41ca311e3d2c1176e2
7070
| `post_type` | string | `"message"` | 上报类型 |
7171
| `message_type` | string | `"private"` | 消息类型 |
7272
| `sub_type` | string | `"friend"``"group"``"discuss"``"other"` | 消息子类型,如果是好友则是 `"friend"`,如果从群或讨论组来的临时会话则分别是 `"group"``"discuss"` |
73+
| `message_id` | number | - | (v3.3.1 新增)消息 ID |
7374
| `user_id` | number | - | 发送者 QQ 号 |
7475
| `message` | string/array | - | 消息内容 |
7576
| `font` | number | - | 字体 |
@@ -90,6 +91,7 @@ X-Signature: sha1=f9ddd4863ace61e64f462d41ca311e3d2c1176e2
9091
| `post_type` | string | `"message"` | 上报类型 |
9192
| `message_type` | string | `"group"` | 消息类型 |
9293
| `sub_type` | string | `"normal"``"anonymous"``"notice"` | 消息子类型,正常消息是 `"normal"`,匿名消息是 `"anonymous"`,系统提示(如「管理员已禁止群内匿名聊天」)是 `"notice"` |
94+
| `message_id` | number | - | (v3.3.1 新增)消息 ID |
9395
| `group_id` | number | - | 群号 |
9496
| `user_id` | number | - | 发送者 QQ 号 |
9597
| `anonymous` | string | - | 匿名用户显示名 |
@@ -104,6 +106,7 @@ X-Signature: sha1=f9ddd4863ace61e64f462d41ca311e3d2c1176e2
104106
| `reply` | string/array | - | 要回复的内容 |
105107
| `auto_escape` | boolean | `true`, `false` | 消息内容是否作为纯文本发送(即不解析 CQ 码),`message` 数据类型为 `array` 时无效 |
106108
| `at_sender` | boolean | `true`, `false` | 是否要在回复开头 at 发送者(自动添加),默认为 `true`,发送者是匿名用户时无效 |
109+
| `delete` | boolean | `true`, `false` | (v3.3.1 新增)撤回该条消息 |
107110
| `kick` | boolean | `true`, `false` | 把发送者踢出群组(需要登录号权限足够),**不拒绝**此人后续加群请求,默认为 `false`,发送者是匿名用户时无效 |
108111
| `ban` | boolean | `true`, `false` | 把发送者禁言 30 分钟(需要登录号权限足够),对匿名用户也有效,不支持指定禁言时长(如需指定,请调用相应 API),默认为 `false` |
109112

@@ -115,6 +118,7 @@ X-Signature: sha1=f9ddd4863ace61e64f462d41ca311e3d2c1176e2
115118
| ----- | ------- | ------- | --- |
116119
| `post_type` | string | `"message"` | 上报类型 |
117120
| `message_type` | string | `"discuss"` | 消息类型 |
121+
| `message_id` | number | - | (v3.3.1 新增)消息 ID |
118122
| `discuss_id` | number | - | 讨论组 ID |
119123
| `user_id` | number | - | 发送者 QQ 号 |
120124
| `message` | string/array | - | 消息内容 |

0 commit comments

Comments
 (0)