mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-11 23:40:24 +00:00
Merge branch 'main' into dev/RefactoredMsgParsers
This commit is contained in:
@@ -315,7 +315,7 @@ export class NTQQGroupApi {
|
||||
const sceneId = groupService.createMemberListScene(groupQQ, 'groupMemberList_MainWindow');
|
||||
const result = await groupService.getNextMemberList(sceneId!, undefined, num);
|
||||
if (result.errCode !== 0) {
|
||||
throw ('获取群成员列表出错,' + result.errMsg);
|
||||
throw new Error('获取群成员列表出错,' + result.errMsg);
|
||||
}
|
||||
|
||||
this.context.logger.logDebug(`获取群(${groupQQ})成员列表结果:`, `members: ${result.result.infos.size}`); //, Array.from(result.result.infos.values()));
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { forceFetchClientKeyRetType } from './common';
|
||||
import { ForceFetchClientKeyRetType } from './common';
|
||||
|
||||
export interface NodeIKernelTicketService {
|
||||
|
||||
@@ -6,7 +6,7 @@ export interface NodeIKernelTicketService {
|
||||
|
||||
removeKernelTicketListener(listenerId: unknown): void;
|
||||
|
||||
forceFetchClientKey(arg: string): Promise<forceFetchClientKeyRetType>;
|
||||
forceFetchClientKey(arg: string): Promise<ForceFetchClientKeyRetType>;
|
||||
|
||||
isNull(): boolean;
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ export interface GeneralCallResult {
|
||||
errMsg: string
|
||||
}
|
||||
|
||||
export interface forceFetchClientKeyRetType extends GeneralCallResult {
|
||||
export interface ForceFetchClientKeyRetType extends GeneralCallResult {
|
||||
url: string;
|
||||
keyIndex: string;
|
||||
clientKey: string;
|
||||
|
||||
Reference in New Issue
Block a user