NapCatQQ/packages/napcat-onebot/event/notice/OB11GroupNameEvent.ts
2025-11-13 15:10:47 +08:00

14 lines
397 B
TypeScript

import { OB11GroupNoticeEvent } from './OB11GroupNoticeEvent';
import { NapCatCore } from 'napcat-core';
export class OB11GroupNameEvent extends OB11GroupNoticeEvent {
notice_type = 'notify';
sub_type = 'group_name';
name_new: string;
constructor (core: NapCatCore, groupId: number, userId: number, nameNew: string) {
super(core, groupId, userId);
this.name_new = nameNew;
}
}