chore: clearGroupNotifiesUnreadCount

This commit is contained in:
手瓜一十雪
2024-08-28 18:01:32 +08:00
parent dfc09334db
commit 134ff3cb44
3 changed files with 5 additions and 1 deletions

View File

@@ -33,6 +33,9 @@ export class NTQQGroupApi {
}
this.context.logger.logDebug(`加载${this.groups.length}个群组缓存完成`);
}
async clearGroupNotifiesUnreadCount(){
return this.context.session.getGroupService().clearGroupNotifiesUnreadCount(true);
}
async setGroupAvatar(gc: string, filePath: string) {
return this.context.session.getGroupService().setHeader(gc, filePath);
}

View File

@@ -189,7 +189,7 @@ export interface NodeIKernelGroupService {
getGroupNotifiesUnreadCount(unknown: boolean): Promise<GeneralCallResult>;
clearGroupNotifiesUnreadCount(groupCode: string): void;
clearGroupNotifiesUnreadCount(unknown: boolean): void;
operateSysNotify(
doubt: boolean,