mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-01-13 11:40:35 +00:00
13 lines
406 B
TypeScript
13 lines
406 B
TypeScript
import { OB11GroupNoticeEvent } from './OB11GroupNoticeEvent';
|
|
import { NapCatCore } from 'napcat-core';
|
|
|
|
export class OB11GroupAdminNoticeEvent extends OB11GroupNoticeEvent {
|
|
notice_type = 'group_admin';
|
|
sub_type: 'set' | 'unset';
|
|
|
|
constructor (core: NapCatCore, group_id: number, user_id: number, sub_type: 'set' | 'unset') {
|
|
super(core, group_id, user_id);
|
|
this.sub_type = sub_type;
|
|
}
|
|
}
|