Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
whitechi73 authored Jan 18, 2024
1 parent f881c57 commit 9cd611b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/api/message.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ icon: comment
| ----------- | ----------------------------- | ---- | ---------------- |
| user_id | int64 || QQ 号 |
| message | `string` / `object` / `array` || 消息内容 |
| auto_escape | bool || 是否解析 CQ 码。 |
| auto_escape | bool || 是否解析 CQ 码(true为不解析)。 |
| recall_duration | int64 || 自动撤回时间间隔(毫秒) |

message格式可为[消息段](../message/format.md#%E6%B6%88%E6%81%AF%E6%AE%B5)object,或[消息段组合](../message/format.md#%E7%BB%84%E5%90%88)array

Expand All @@ -46,7 +47,8 @@ message格式可为[消息段](../message/format.md#%E6%B6%88%E6%81%AF%E6%AE%B5)
| ----------- | ----------------------------- | ---- | ---------------- |
| group_id | int64 || 群号 |
| message | `string` / `object` / `array` || 消息内容 |
| auto_escape | bool || 是否解析 CQ 码。 |
| auto_escape | bool || 是否解析 CQ 码(true为不解析)。 |
| recall_duration | int64 || 自动撤回时间间隔(毫秒) |

message格式同`/send_private_msg`

Expand Down Expand Up @@ -74,7 +76,8 @@ message格式同`/send_private_msg`
| group_id | int64 || 群号 |
| discuss_id | int64 || 讨论组号 |
| message | `string` / `object` / `array` || 消息内容 |
| auto_escape | bool || 是否解析 CQ 码。 |
| auto_escape | bool || 是否解析 CQ 码(true为不解析)。 |
| recall_duration | int64 || 自动撤回时间间隔(毫秒) |

message格式同`/send_private_msg`

Expand Down
4 changes: 4 additions & 0 deletions docs/event/notice.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ icon: bell
| group_id | int64 | 群号 |
| user_id | int64 | 新增成员 QQ |
| operator_id | int64 | 操作者 QQ 号 |
| operator_uid | string | 操作者 UID |
| user_uid | string | 新成员 UID |
| sub_type | string | 子类型(approve/invite) |

## 群组成员减少
Expand All @@ -53,6 +55,8 @@ icon: bell
| group_id | int64 | 群号 |
| user_id | int64 | 减少成员 QQ |
| operator_id | int64 | 操作者 QQ 号 |
| operator_uid | string | 操作者 UID |
| user_uid | string | 新成员 UID |
| sub_type | string | 子类型(leave/kick/kick_me) |

## 群组管理员变动
Expand Down

0 comments on commit 9cd611b

Please sign in to comment.