mirror of
https://github.com/whitechi73/OpenShamrock.git
synced 2024-08-14 13:12:17 +08:00
补全消息事件的结构
This commit is contained in:
parent
51b7d381cb
commit
fa7aa21362
@ -10,20 +10,21 @@ icon: comment
|
|||||||
|
|
||||||
## 消息事件
|
## 消息事件
|
||||||
|
|
||||||
| 字段 | 类型 | 说明 |
|
| 字段 | 类型 | 说明 |
|
||||||
| ------------ | ------ | -------------------------------------- |
|
| ------------ | ------ | ---------------------------------------- |
|
||||||
| message_type | string | 消息类型 |
|
| message_type | string | 消息类型 |
|
||||||
| sub_type | string | 消息子类型 |
|
| sub_type | string | 消息子类型 |
|
||||||
| message_id | int64 | 消息 ID |
|
| message_id | int64 | 消息 ID |
|
||||||
| user_id | int64 | 发送者 QQ 号 |
|
| user_id | int64 | 发送者 QQ 号(在频道中,则为发送者的Tiny ID)|
|
||||||
| message | object | 消息内容 |
|
| tiny_id | int64 | 发送者的Tiny ID(频道) |
|
||||||
| raw_message | string | CQ 码格式消息 |
|
| message | object | 消息内容 |
|
||||||
| font | int32 | 字体 |
|
| raw_message | string | CQ 码格式消息 |
|
||||||
| sender | object | 发送人信息 |
|
| font | int32 | 字体 |
|
||||||
| group_id | int64 | 群号 |
|
| sender | object | 发送人信息 |
|
||||||
| target_id | int64 | 消息目标(私聊) |
|
| group_id | int64 | 群号 |
|
||||||
| temp_source | int32 | 临时聊天来源(私聊) |
|
| target_id | int64 | 消息目标(私聊) |
|
||||||
| peer_id | int64 | 消息接收者,群聊是群号,私聊时是目标QQ |
|
| temp_source | int32 | 临时聊天来源(私聊) |
|
||||||
|
| peer_id | int64 | 消息接收者,群聊是群号,私聊时是目标QQ |
|
||||||
|
|
||||||
## 私聊消息
|
## 私聊消息
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user