fix(onebot): correct private message history (#256)
Use the C2C roam cursor and canonical NT sequence for bidirectional history. Persist direction-aware recall tombstones so recalled messages cannot reappear.
This commit is contained in:
37 files changed
+1853
-242
No files matched your search
@@ -3247,7 +3247,7 @@
|
||||
{
|
||||
"name": "get_friend_msg_history",
|
||||
"aliases": [],
|
||||
"summary": "获取好友消息历史",
|
||||
"summary": "获取好友消息历史(无锚点时从服务器获取最新双向记录)",
|
||||
"returns": "{ messages }:好友消息事件对象数组(每项为 OneBot 消息事件,内部字段不固定)。",
|
||||
"returnsSchema": {
|
||||
"type": "object",
|
||||
@@ -3294,7 +3294,8 @@
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"default": 20
|
||||
"default": 20,
|
||||
"desc": "无锚点时从 QQ 服务器获取最新双向历史;服务器或身份解析失败时动作失败,不返回不完整的本地缓存"
|
||||
},
|
||||
{
|
||||
"name": "reverse_order",
|
||||
@@ -3324,6 +3325,7 @@
|
||||
"count": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"description": "无锚点时从 QQ 服务器获取最新双向历史;服务器或身份解析失败时动作失败,不返回不完整的本地缓存",
|
||||
"default": 20
|
||||
},
|
||||
"reverse_order": {
|
||||
|
||||
Reference in new issue
Block a user