feat: 群名称变更事件

This commit is contained in:
Clansty
2024-12-28 20:54:41 +08:00
parent e7ee54a38d
commit 1cda07d5a8
2 changed files with 28 additions and 1 deletions

View File

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