feat(onebot): expose birthdays in stranger profiles (#594)

Include available birthday information in stranger profiles and preserve hidden birth years.
This commit is contained in:
C₂₂H₂₅NO₆ authored and GitHub committed 2026-10-31 18:01:16 +08:00
1 parent 6b8362e049
commit 947af4b22c
10 files changed
+192 -6

No files matched your search

+7
View File
@@ -13,6 +13,13 @@ export interface UserProfileInfo {
* `FetchStrangerService.cs` confirms `// Level`. */
level: number;
regTime?: number;
/**
* 生日 — OIDB 0xFE1_2 bytes-property key 20031。
* 月日未设置时三项均缺省;出生年份未公开(年份为 0)时仅缺省 birthdayYear。
*/
birthdayYear?: number;
birthdayMonth?: number;
birthdayDay?: number;
vipFlag?: boolean;
yearVipFlag?: boolean;
svipFlag?: boolean;