Interface GroupInviteEvent

群邀请

interface GroupInviteEvent {
    flag: string;
    group_id: number;
    group_name: string;
    nickname: string;
    post_type: "request";
    request_type: "group";
    role: GroupRole;
    seq: number;
    sub_type: "invite";
    time: number;
    user_id: number;
    approve(yes?: boolean): Promise<boolean>;
}

Hierarchy (view full)

Properties

flag: string

cqhttp方法用

group_id: number

群号

group_name: string

群名

nickname: string

昵称

post_type
request_type
role: GroupRole

邀请者在群里的权限

不确定的注释

seq: number
sub_type
time: number
user_id: number

账号

Methods