@@ -115,7 +115,7 @@ ctx.assert(ctx.request.headers['x-signature'] === `sha1=${sig}`, 403);
115115| ` post_type ` | string | ` "message" ` | 上报类型 |
116116| ` message_type ` | string | ` "private" ` | 消息类型 |
117117| ` sub_type ` | string | ` "friend" ` 、` "group" ` 、` "discuss" ` 、` "other" ` | 消息子类型,如果是好友则是 ` "friend" ` ,如果从群或讨论组来的临时会话则分别是 ` "group" ` 、` "discuss" ` |
118- | ` message_id ` | number | - | (v3.3.1 新增) 消息 ID |
118+ | ` message_id ` | number | - | 消息 ID |
119119| ` user_id ` | number | - | 发送者 QQ 号 |
120120| ` message ` | string/array | - | 消息内容 |
121121| ` font ` | number | - | 字体 |
@@ -153,7 +153,7 @@ ctx.assert(ctx.request.headers['x-signature'] === `sha1=${sig}`, 403);
153153| ` post_type ` | string | ` "message" ` | 上报类型 |
154154| ` message_type ` | string | ` "group" ` | 消息类型 |
155155| ` sub_type ` | string | ` "normal" ` 、` "anonymous" ` 、` "notice" ` | 消息子类型,正常消息是 ` "normal" ` ,匿名消息是 ` "anonymous" ` ,系统提示(如「管理员已禁止群内匿名聊天」)是 ` "notice" ` |
156- | ` message_id ` | number | - | (v3.3.1 新增) 消息 ID |
156+ | ` message_id ` | number | - | 消息 ID |
157157| ` group_id ` | number | - | 群号 |
158158| ` user_id ` | number | - | 发送者 QQ 号 |
159159| ` anonymous ` | string | - | 匿名用户显示名 |
@@ -168,7 +168,7 @@ ctx.assert(ctx.request.headers['x-signature'] === `sha1=${sig}`, 403);
168168| ` reply ` | string/array | 要回复的内容 | 不回复 |
169169| ` auto_escape ` | boolean | 消息内容是否作为纯文本发送(即不解析 CQ 码),` message ` 数据类型为 ` array ` 时无效 | 不转义 |
170170| ` at_sender ` | boolean | 是否要在回复开头 at 发送者(自动添加),发送者是匿名用户时无效 | at 发送者 |
171- | ` delete ` | boolean | (v3.3.1 新增) 撤回该条消息 | 不撤回 |
171+ | ` delete ` | boolean | 撤回该条消息 | 不撤回 |
172172| ` kick ` | boolean | 把发送者踢出群组(需要登录号权限足够),** 不拒绝** 此人后续加群请求,发送者是匿名用户时无效 | 不踢 |
173173| ` ban ` | boolean | 把发送者禁言 30 分钟(需要登录号权限足够),对匿名用户也有效,不支持指定禁言时长(如需指定,请调用相应 API) | 不禁言 |
174174
@@ -180,7 +180,7 @@ ctx.assert(ctx.request.headers['x-signature'] === `sha1=${sig}`, 403);
180180| ----- | ------- | ------- | --- |
181181| ` post_type ` | string | ` "message" ` | 上报类型 |
182182| ` message_type ` | string | ` "discuss" ` | 消息类型 |
183- | ` message_id ` | number | - | (v3.3.1 新增) 消息 ID |
183+ | ` message_id ` | number | - | 消息 ID |
184184| ` discuss_id ` | number | - | 讨论组 ID |
185185| ` user_id ` | number | - | 发送者 QQ 号 |
186186| ` message ` | string/array | - | 消息内容 |
0 commit comments