diff --git a/src/core/src/apis/msg.ts b/src/core/src/apis/msg.ts index 3ddb9513..76e2faa6 100644 --- a/src/core/src/apis/msg.ts +++ b/src/core/src/apis/msg.ts @@ -68,7 +68,7 @@ setTimeout(() => { export class NTQQMsgApi { static async getMsgEmojiLikesList(peer: Peer, msgSeq: string, emojiId: string, emojiType: string, count: number = 20) { - console.log(peer, msgSeq, emojiId, emojiType, count); + //console.log(peer, msgSeq, emojiId, emojiType, count); return napCatCore.session.getMsgService().getMsgEmojiLikesList(peer, msgSeq, emojiId, emojiType, "", false, 20) } // static napCatCore: NapCatCore | null = null; diff --git a/src/core/src/services/NodeIKernelMsgService.ts b/src/core/src/services/NodeIKernelMsgService.ts index ae1d4a1e..61c01d7c 100644 --- a/src/core/src/services/NodeIKernelMsgService.ts +++ b/src/core/src/services/NodeIKernelMsgService.ts @@ -477,7 +477,19 @@ export interface NodeIKernelMsgService { setMsgEmojiLikes(...args: unknown[]): unknown; - getMsgEmojiLikesList(peer: Peer, msgSeq: string, emojiId: string, emojiType: string, cookie: string, bForward: boolean, number: number): Promise; + getMsgEmojiLikesList(peer: Peer, msgSeq: string, emojiId: string, emojiType: string, cookie: string, bForward: boolean, number: number): Promise<{ + result: number, + errMsg: string, + emojiLikesList: + Array<{ + tinyId: string, + nickName: string, + headUrl: string + }>, + cookie: string, + isLastPage: boolean, + isFirstPage: boolean + }>; setMsgEmojiLikesForRole(...args: unknown[]): unknown; @@ -592,7 +604,7 @@ export interface NodeIKernelMsgService { // this.selfPhone = str5; // this.gameSession = tempChatGameSession; prepareTempChat(args: unknown): unknown;//主动临时消息 不做 - + sendSsoCmdReqByContend(cmd: string, param: string): Promise; //chattype,uid->Promise