mirai
2.12.0
common
mirai-core-api
/
net.mamoe.mirai.event.events
/
TempMessagePreSendEvent
Temp
Message
Pre
Send
Event
common
sealed
class
TempMessagePreSendEvent
:
UserMessagePreSendEvent
Content copied to clipboard
在发送临时会话消息前广播的事件.
Functions
Properties
See also
Inheritors
See also
common
net.
mamoe.
mirai.
event.
events.
Message
Pre
Send
Event
Functions
cancel
Link copied to clipboard
common
fun
cancel
(
)
Content copied to clipboard
intercept
Link copied to clipboard
common
abstract
fun
intercept
(
)
Content copied to clipboard
拦截这个事件
Properties
_intercepted
Link copied to clipboard
common
@
MiraiInternalApi
var
_intercepted
:
Boolean
=
false
Content copied to clipboard
bot
Link copied to clipboard
common
override
val
bot
:
Bot
Content copied to clipboard
broadCastLock
Link copied to clipboard
common
@
MiraiInternalApi
val
broadCastLock
:
<ERROR CLASS>
Content copied to clipboard
限制一个事件实例不能并行广播. (适用于 object 广播的情况)
group
Link copied to clipboard
common
open
val
group
:
Group
Content copied to clipboard
isCancelled
Link copied to clipboard
common
val
isCancelled
:
Boolean
Content copied to clipboard
isIntercepted
Link copied to clipboard
common
abstract
val
isIntercepted
:
Boolean
Content copied to clipboard
事件是否已被拦截.
message
Link copied to clipboard
common
open
override
var
message
:
Message
Content copied to clipboard
待发送的消息. 修改后将会同时应用于发送.
target
Link copied to clipboard
common
open
override
val
target
:
Member
Content copied to clipboard
发信目标.
Inheritors
GroupTempMessagePreSendEvent
Link copied to clipboard