BotInvitedJoinGroupRequestEvent

data class BotInvitedJoinGroupRequestEvent @MiraiInternalApi constructor(bot: Bot, eventId: Long, invitorId: Long, groupId: Long, groupName: String, invitorNick: String) : AbstractEvent, BotEvent, Packet, BaseGroupMemberInfoChangeEvent

Bot 被邀请加入一个群.

Constructors

BotInvitedJoinGroupRequestEvent
Link copied to clipboard
fun BotInvitedJoinGroupRequestEvent(bot: Bot, eventId: Long, invitorId: Long, groupId: Long, groupName: String, invitorNick: String)

Functions

accept
Link copied to clipboard
suspend fun accept()
cancel
Link copied to clipboard
fun cancel()
ignore
Link copied to clipboard
suspend fun ignore()
intercept
Link copied to clipboard
abstract fun intercept()

拦截这个事件

Properties

bot
Link copied to clipboard
open override val bot: Bot
eventId
Link copied to clipboard
val eventId: Long

事件唯一识别号

groupId
Link copied to clipboard
open override val groupId: Long
groupName
Link copied to clipboard
val groupName: String
invitor
Link copied to clipboard
val invitor: Friend?

邀请人. 若在事件发生后邀请人已经被删除好友, invitornull.

invitorId
Link copied to clipboard
val invitorId: Long

邀请入群的账号的 id

invitorNick
Link copied to clipboard
val invitorNick: String

邀请人昵称

isCancelled
Link copied to clipboard
val isCancelled: Boolean
isIntercepted
Link copied to clipboard
abstract val isIntercepted: Boolean

事件是否已被拦截.

Extensions