mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-13 00:10:27 +00:00
feat: raw api add
This commit is contained in:
11
src/onebot11/action/user/GetRecentContact.ts
Normal file
11
src/onebot11/action/user/GetRecentContact.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
import BaseAction from '../BaseAction';
|
||||
import { ActionName } from '../types';
|
||||
import { NTQQUserApi } from '@/core';
|
||||
|
||||
export default class GetRecentContact extends BaseAction<void, any> {
|
||||
actionName = ActionName.GetRecentContact;
|
||||
protected async _handle(payload: void) {
|
||||
return await NTQQUserApi.getRecentContactList()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user