mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-13 00:10:27 +00:00
add: GetEssenceMsg
This commit is contained in:
19
src/onebot11/action/group/GetGroupEssence.ts
Normal file
19
src/onebot11/action/group/GetGroupEssence.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import { getGroup } from '@/core/data';
|
||||
import { OB11Group } from '../../types';
|
||||
import { OB11Constructor } from '../../constructor';
|
||||
import BaseAction from '../BaseAction';
|
||||
import { ActionName } from '../types';
|
||||
import { NTQQMsgApi } from '@/core/apis/msg';
|
||||
|
||||
interface PayloadType {
|
||||
group_id: number
|
||||
}
|
||||
|
||||
export class GetGroupEssence extends BaseAction<PayloadType, null> {
|
||||
actionName = ActionName.GoCQHTTP_GetEssenceMsg;
|
||||
|
||||
protected async _handle(payload: PayloadType) {
|
||||
//await NTQQMsgApi.GetEssenceMsg()
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user