This commit is contained in:
手瓜一十雪
2024-07-29 08:29:24 +08:00
parent 12f64d76fe
commit a034b9529d
5 changed files with 36 additions and 5 deletions

View File

@@ -99,6 +99,9 @@ export class NTQQMsgApi {
static async getSingleMsg(peer: Peer, seq: string) {
return await napCatCore.session.getMsgService().getSingleMsg(peer, seq);
}
static async fetchFavEmojiList(num:number) {
return napCatCore.session.getMsgService().fetchFavEmojiList("",num , true, true)
}
static async queryMsgsWithFilterExWithSeq(peer: Peer, msgSeq: string, msgTime: string, senderUid: string) {
let ret = await napCatCore.session.getMsgService().queryMsgsWithFilterEx('0', msgTime, msgSeq, {
chatInfo: peer,

View File

@@ -393,8 +393,13 @@ export interface NodeIKernelMsgService {
translatePtt2Text(MsgId: string, Peer: {}, MsgElement: {}): unknown;
setPttPlayedState(...args: unknown[]): unknown;
fetchFavEmojiList(...args: unknown[]): unknown;
// NodeIQQNTWrapperSession fetchFavEmojiList [
// "",
// 48,
// true,
// true
// ]
fetchFavEmojiList(str: string, num: number, uk1: boolean, uk2: boolean): Promise<unknown>;
addFavEmoji(...args: unknown[]): unknown;
@@ -663,7 +668,7 @@ export interface NodeIKernelMsgService {
dataMigrationGetMsgList(...args: unknown[]): unknown;
dataMigrationStopOperation(...args: unknown[]): unknown;
//新的希望
dataMigrationImportMsgPbRecord(DataMigrationMsgInfo: Array<{
extensionData: string//"Hex"