fix(onebot): restore group and doubt request accounts

get_group_system_msg now keeps join and invite records, reports the
inviter, and fills a missing requester nick from the user profile.
get_doubt_friends_add_request returns the QQ number plus the request
message, source, and time that QQ actually sends.

Closes #400
Closes #401
Closes #402
Closes #403
This commit is contained in:
DrSmoothl committed 2026-08-19 21:45:15 +08:00
1 parent 5a10fc4c9c
commit 8fdd41ea22
13 files changed
+418 -79

No files matched your search

@@ -27,11 +27,17 @@ export interface OidbDoubtGetReq {
}
export interface OidbDoubtItem {
uid?: pb<1, string>; // HIGH (kStrTargetUid)
nick?: pb<2, string>; // MEDIUM (generic Nick attr 20002)
source?: pb<5, string>; // MEDIUM
reqTime?: pb<9, uint_64>; // HIGH (attr 60001)
msg?: pb<11, string>; // MEDIUM
uid?: pb<1, string>;
nick?: pb<2, string>;
age?: pb<3, uint_32>;
sex?: pb<4, uint_32>;
msg?: pb<5, string>;
source?: pb<6, string>;
reason?: pb<7, string>;
uin?: pb<8, uint_64>;
reqTime?: pb<9, uint_64>;
commFriendNum?: pb<10, uint_32>;
groupCode?: pb<11, string>;
}
export interface OidbDoubtGetRespBody {
list?: pb_repeated<1, OidbDoubtItem>;