Interface GroupRequestEvent

群申请

interface GroupRequestEvent {
    comment: string;
    flag: string;
    group_id: number;
    group_name: string;
    inviter_id?: number;
    nickname: string;
    post_type: "request";
    request_type: "group";
    seq: number;
    sub_type: "add";
    time: number;
    tips: string;
    user_id: number;
    approve(yes?: boolean): Promise<boolean>;
}

Hierarchy (view full)

Properties

comment: string

群简介

flag: string

cqhttp方法用

group_id: number

群号

group_name: string

群名

inviter_id?: number

如果被邀请进群,则显示邀请者账号

nickname: string

昵称

post_type
request_type
seq: number
sub_type
time: number
tips: string

申请提示

不确定的注释

user_id: number

账号

Methods