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:
4 files changed
+32
-9
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import type { pb } from '@snowluma/proton';
|
||||
|
||||
interface GroupAlbumMediaListReqInfoWireOracle {
|
||||
reserved?: pb<4, string>;
|
||||
pageInfo?: pb<5, string>;
|
||||
}
|
||||
|
||||
export interface GroupAlbumMediaListRequestWireOracle {
|
||||
reqInfo?: pb<4, GroupAlbumMediaListReqInfoWireOracle>;
|
||||
}
|
||||
Reference in new issue
Block a user