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