mirai
2.16.0
common
mirai-core-api
/
net.mamoe.mirai.event.events
/
BotJoinGroupEvent
/
Active
Active
@
MiraiExperimentalApi
data
class
Active
@
MiraiInternalApi
constructor
(
val
group
:
Group
)
:
BotJoinGroupEvent
不确定, 已知的来源:
Bot 在其他客户端创建群聊而同步到 Bot 客户端.
Members
Constructors
Active
Link copied to clipboard
@
MiraiInternalApi
constructor
(
group
:
Group
)
Functions
cancel
Link copied to clipboard
fun
cancel
(
)
intercept
Link copied to clipboard
abstract
fun
intercept
(
)
拦截这个事件
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
Properties
_intercepted
Link copied to clipboard
@
MiraiInternalApi
@
JvmField
@
Volatile
var
_intercepted
:
Boolean
bot
Link copied to clipboard
open
override
val
bot
:
Bot
broad
Cast
Lock
Link copied to clipboard
@
MiraiInternalApi
@
JvmField
val
broadCastLock
:
Mutex
限制一个事件实例不能并行广播. (适用于 object 广播的情况)
group
Link copied to clipboard
open
override
val
group
:
Group
group
Id
Link copied to clipboard
open
override
val
groupId
:
Long
is
Cancelled
Link copied to clipboard
val
isCancelled
:
Boolean
is
Intercepted
Link copied to clipboard
abstract
val
isIntercepted
:
Boolean
事件是否已被拦截.