NapCatQQ/src/onebot11/action/group/GetGroupNotice.ts
手瓜一十雪 ff5a21cca5 fix
2024-04-28 18:21:36 +08:00

16 lines
414 B
TypeScript

import BaseAction from '../BaseAction';
import { ActionName } from '../types';
interface PayloadType {
group_id: number
}
export class GetGroupNotice extends BaseAction<PayloadType, null> {
actionName = ActionName.GetGroupNotice;
protected async _handle(payload: PayloadType) {
const group = payload.group_id.toString();
// WebApi.getGrouptNotice(group);
return null;
}
}