fix(onebot): use canonical group request flags

This commit is contained in:
DrSmoothl committed 2026-07-10 02:42:07 +08:00
1 parent 3c73d1d5b0
commit 35958a7fc2
11 files changed
+468 -60

No files matched your search

@@ -235,6 +235,12 @@ export class ContactsApi {
return this.ctx.identity.getGroupInviteCardSequence(groupId);
}
/** Resolve the group for a private invite-card msgseq. Numeric OneBot flags
* use this path because the card sequence is absent from 0x10C0. */
findGroupInviteCardGroupBySequence(sequence: number): number | undefined {
return this.ctx.identity.findGroupInviteCardGroupBySequence(sequence);
}
async fetchDownloadRKeys(): Promise<DownloadRKeyInfo[]> {
const resp = await FetchDownloadRkeys.invoke(this.ctx);