mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-01-12 15:29:00 +08:00
18 lines
449 B
TypeScript
18 lines
449 B
TypeScript
import { NapCatCore } from 'napcat-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;
|
|
}
|
|
}
|