mirai-core / net.mamoe.mirai.event.events / BotInvitedJoinGroupRequestEvent

BotInvitedJoinGroupRequestEvent

@SinceMirai("0.39.4") data class BotInvitedJoinGroupRequestEvent : BotEvent, Packet

Bot 被邀请加入一个群.

Constructors

<init>

Bot 被邀请加入一个群.

BotInvitedJoinGroupRequestEvent(bot: Bot, eventId: Long, invitorId: Long, groupId: Long, groupName: String, invitorNick: String)

Properties

bot

val bot: Bot

eventId

事件唯一识别号

val eventId: Long

groupId

val groupId: Long

groupName

val groupName: String

invitor

val invitor: Friend

invitorId

邀请入群的账号的 id

val invitorId: Long

invitorNick

邀请人昵称

val invitorNick: String

Functions

__acceptBlockingForJava__

fun __acceptBlockingForJava__(): Unit

__ignoreBlockingForJava__

fun __ignoreBlockingForJava__(): Unit

accept

suspend fun accept(): Unit

ignore

suspend fun ignore(): Unit

Extension Functions

broadcast

广播一个事件的唯一途径.

suspend fun <E : Event> E.broadcast(): E