Interface BotInvitedJoinGroupRequestEvent

Bot被邀请入群申请

interface BotInvitedJoinGroupRequestEvent {
    eventId: number;
    fromId: number;
    groupId: number;
    groupName: string;
    message: string;
    nick: string;
    reply?: ((msgChain: string | MessageChain, quote?: boolean) => Promise<void>);
    respond: ((operate: BotInvitedJoinGroupRequestOperationType, message?: string) => Promise<Api.Response.BotInvitedJoinGroupRequestEvent>);
    type: "BotInvitedJoinGroupRequestEvent";
}

Hierarchy

  • BaseRequestEvent
    • BotInvitedJoinGroupRequestEvent

Properties

eventId: number

事件标识,响应该事件时的标识

fromId: number

邀请人(好友)的 QQ号

groupId: number

被邀请进入群的群号

groupName: string

被邀请进入群的群名称

message: string

邀请消息

nick: string

邀请人(好友)的昵称

reply?: ((msgChain: string | MessageChain, quote?: boolean) => Promise<void>)

reply 辅助函数

respond: ((operate: BotInvitedJoinGroupRequestOperationType, message?: string) => Promise<Api.Response.BotInvitedJoinGroupRequestEvent>)
type: "BotInvitedJoinGroupRequestEvent"