Invite

data class Invite @MiraiInternalApi constructor(val invitor: NormalMember) : BotJoinGroupEvent

Bot 被一个群内的成员直接邀请加入了群.

此时服务器基于 Bot 的 QQ 设置自动同意了请求.

Constructors

Link copied to clipboard
fun Invite(invitor: NormalMember)

Functions

Link copied to clipboard
fun cancel()
Link copied to clipboard
abstract fun intercept()

拦截这个事件

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
var _intercepted: Boolean = false
Link copied to clipboard
open override val bot: Bot
Link copied to clipboard
val broadCastLock: Mutex

限制一个事件实例不能并行广播. (适用于 object 广播的情况)

Link copied to clipboard
open override val group: Group
Link copied to clipboard
open override val groupId: Long
Link copied to clipboard
val invitor: NormalMember

邀请人

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

事件是否已被拦截.