mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-01-02 16:09:04 +08:00
16 lines
423 B
TypeScript
16 lines
423 B
TypeScript
import BaseAction from '../BaseAction';
|
|
import { ActionName } from '../types';
|
|
|
|
interface PayloadType {
|
|
group_id: number
|
|
}
|
|
|
|
export class SetGroupNotice extends BaseAction<PayloadType, null> {
|
|
actionName = ActionName.GoCQHTTP_SetGroupNotice;
|
|
|
|
protected async _handle(payload: PayloadType) {
|
|
const group = payload.group_id.toString();
|
|
// WebApi.getGrouptNotice(group);
|
|
return null;
|
|
}
|
|
} |