feat(sdk): expose group request query options

Add typed group, pending-state, and per-inbox limit options to group-system message queries while preserving existing call sites.

Regenerate the shared action catalog so SDK and MCP consumers receive consistent validation rules and updated request-flag guidance.
This commit is contained in:
DrSmoothl committed 2026-08-10 00:26:29 +08:00
1 parent 1996192a5e
commit da3821ced4
5 files changed
+58 -5

No files matched your search

+10 -2
View File
@@ -132,8 +132,16 @@ export abstract class SnowLumaApiClient {
return this.call('get_group_honor_info', params, options);
}
getGroupSystemMessages(options?: RequestOptions) {
return this.call('get_group_system_msg', {}, options);
getGroupSystemMessages(options?: RequestOptions & {
groupId?: number;
onlyPending?: boolean;
count?: number;
}) {
return this.call('get_group_system_msg', {
group_id: options?.groupId,
only_pending: options?.onlyPending,
count: options?.count,
}, options);
}
setGroupKick(groupId: number, userId: number, options?: RequestOptions & { rejectAddRequest?: boolean }) {