mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-03-01 08:10:25 +00:00
18 lines
471 B
TypeScript
18 lines
471 B
TypeScript
import { NapCatCore } from '@/core';
|
|
import { OB11BaseRequestEvent } from './OB11BaseRequestEvent';
|
|
|
|
export class OB11FriendRequestEvent extends OB11BaseRequestEvent {
|
|
override request_type = 'friend';
|
|
|
|
user_id: number;
|
|
comment: string;
|
|
flag: string;
|
|
|
|
constructor(core: NapCatCore, user_id: number, comment: string, flag: string) {
|
|
super(core);
|
|
this.user_id = user_id;
|
|
this.comment = comment;
|
|
this.flag = flag;
|
|
}
|
|
}
|