mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-23 16:30:07 +08:00
80 lines
2.6 KiB
TypeScript
80 lines
2.6 KiB
TypeScript
import { ChatType, Peer } from '@/core/types';
|
|
import { NodeIKernelRecentContactListener } from '@/core/listeners/NodeIKernelRecentContactListener';
|
|
import { GeneralCallResult } from '@/core/services/common';
|
|
import { FSABRecentContactParams } from '@/core/types/contact';
|
|
|
|
export interface NodeIKernelRecentContactService {
|
|
setGuildDisplayStatus(...args: unknown[]): unknown; // 2 arguments
|
|
|
|
setContactListTop(...args: unknown[]): unknown; // 2 arguments
|
|
|
|
updateRecentContactExtBufForUI(...args: unknown[]): unknown; // 2 arguments
|
|
|
|
upsertRecentContactManually(...args: unknown[]): unknown; // 1 arguments
|
|
|
|
enterOrExitMsgList(...args: unknown[]): unknown; // 1 arguments
|
|
|
|
getRecentContactListSnapShot(count: number): Promise<GeneralCallResult & {
|
|
info: {
|
|
errCode: number,
|
|
errMsg: string,
|
|
sortedContactList: Array<number>,
|
|
changedList: Array<{
|
|
remark: unknown;
|
|
peerName: unknown;
|
|
sendMemberName: unknown;
|
|
sendNickName: unknown;
|
|
peerUid: string; peerUin: string, msgTime: string, chatType: ChatType, msgId: string
|
|
}>
|
|
}
|
|
}>; // 1 arguments
|
|
|
|
clearMsgUnreadCount(...args: unknown[]): unknown; // 1 arguments
|
|
|
|
getRecentContactListSyncLimit(count: number): unknown;
|
|
|
|
jumpToSpecifyRecentContact(...args: unknown[]): unknown; // 1 arguments
|
|
|
|
fetchAndSubscribeABatchOfRecentContact(params: FSABRecentContactParams): unknown; // 1 arguments
|
|
|
|
addRecentContact(peer: Peer): unknown;
|
|
|
|
deleteRecentContacts(peer: Peer): unknown; // 猜测
|
|
|
|
getContacts(peers: Peer[]): Promise<unknown>;
|
|
|
|
setThirdPartyBusinessInfos(...args: unknown[]): unknown; // 1 arguments
|
|
|
|
updateGameMsgConfigs(...args: unknown[]): unknown; // 1 arguments
|
|
|
|
removeKernelRecentContactListener(listenerid: number): unknown; // 1 arguments
|
|
|
|
addKernelRecentContactListener(listener: NodeIKernelRecentContactListener): void;
|
|
|
|
clearRecentContactsByChatType(...args: unknown[]): unknown; // 1 arguments
|
|
|
|
upInsertModule(...args: unknown[]): unknown; // 1 arguments
|
|
|
|
jumpToSpecifyRecentContactVer2(...args: unknown[]): unknown; // 1 arguments
|
|
|
|
deleteRecentContactsVer2(...args: unknown[]): unknown; // 1 arguments
|
|
|
|
getRecentContactList(): Promise<unknown>;
|
|
|
|
getMsgUnreadCount(): unknown;
|
|
|
|
clearRecentContacts(): unknown;
|
|
|
|
getServiceAssistantRecentContactInfos(): unknown;
|
|
|
|
getRecentContactInfos(): unknown;
|
|
|
|
getUnreadDetailsInfos(): unknown;
|
|
|
|
cleanAllModule(): unknown;
|
|
|
|
setAllGameMsgRead(): unknown;
|
|
|
|
getRecentContactListSync(): unknown;
|
|
}
|