fix(core): send group album pagination cursors

Encode the opaque media-list cursor in the protobuf page-info field while leaving the reserved field empty. This restores subsequent-page requests without changing the OneBot action or response shape.

Add an independent wire oracle so future protocol definition drift cannot make the encoder regression test pass against itself.

Fixes #245
This commit is contained in:
DrSmoothl committed 2026-07-19 16:28:01 +08:00
1 parent 613b2b1e68
commit 78101b3512
4 files changed
+32 -9

No files matched your search

+2 -2
View File
@@ -61,8 +61,8 @@ export class GroupAlbumApi {
groupId: groupId.toString(),
albumId,
field3: 0,
attachInfo,
field5: '',
field4: '',
pageInfo: attachInfo,
},
traceId,
extMap: [{ key: 'fc-appid', value: '100' }],