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:
5 files changed
+58
-5
No files matched your search
@@ -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 }) {
|
||||
|
||||
Reference in new issue
Block a user