feat: new api

This commit is contained in:
手瓜一十雪 committed 2024-07-20 17:33:26 +08:00
1 parent 714d7d72eb
commit 30ec964325
7 files changed
+36 -9

No files matched your search

+9
View File
@@ -60,3 +60,12 @@ export class GoCQHTTPMarkMsgAsRead extends BaseAction<Payload, null> {
return null;
}
}
export class MarkAllMsgAsRead extends BaseAction<Payload, null> {
actionName = ActionName._MarkAllMsgAsRead;
protected async _handle(payload: Payload): Promise<null> {
await NTQQMsgApi.markallMsgAsRead();
return null;
}
}