diff --git a/docs/event/general-data.md b/docs/event/general-data.md index 76d633c..d154164 100644 --- a/docs/event/general-data.md +++ b/docs/event/general-data.md @@ -18,7 +18,6 @@ icon: database 区别在于 `message` 是收到的消息,`message_sent` 是发送的消息。 默认情况下,Shamrock 只会上报 `message` 类型的消息。 -并且 Shamrock 暂未实现 `message_sent` 类型的上报。 ::: ## 事件类型 @@ -101,3 +100,17 @@ icon: database | level | string | 发送者等级 | | role | string | 发送者角色 | | title | string | 发送者头衔 | + +### Post_Message_TempSource + +| 类型 | 来源 | +|------|------| +| 0 | 群聊 | +| 1 | QQ咨询 | +| 2 | 查找 | +| 3 | QQ电影 | +| 4 | 热聊 | +| 6 | 验证消息 | +| 7 | 多人聊天 | +| 8 | 约会 | +| 9 | 通讯录 | \ No newline at end of file diff --git a/docs/event/message.md b/docs/event/message.md index af0e80d..23b14af 100644 --- a/docs/event/message.md +++ b/docs/event/message.md @@ -22,6 +22,7 @@ icon: comment | sender | object | 发送人信息 | | group_id | int64 | 群号 | | target_id | int64 | 消息目标(私聊) | +| temp_source | int32 | 临时聊天来源(私聊) | | peer_id | int64 | 消息接收者,群聊是群号,私聊时是目标QQ | ## 私聊消息 diff --git a/docs/guide/configuration.md b/docs/guide/configuration.md index 21c90be..21596ae 100644 --- a/docs/guide/configuration.md +++ b/docs/guide/configuration.md @@ -69,7 +69,8 @@ Shamrock 提供了一个图形化的配置界面,可进行简单的配置操 "address": "ws://aaaaaaaaa", "token": "aaa666" // 提供了特例化token,将不使用默认token } - ] + ], + "allow-temp-session": false // 是否允许临时消息 } ```