feat: 群名称变更事件

This commit is contained in:
Clansty committed 2024-12-28 20:54:41 +08:00
1 parent d78409fd07
commit 527bb72bcf
2 files changed
+28 -1

No files matched your search

@@ -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;
}
}