Simple Robot Component Mirai
3.0.0.0-M3
simbot-component-mirai-core
/
love.forte.simbot.component.mirai.event
/
MiraiMessageRecallEvent
Mirai
Message
Recall
Event
sealed
class
MiraiMessageRecallEvent
<
E
:
MessageRecallEvent
>
:
MiraiSimbotEvent
<
E
>
(
source
)
消息撤回事件。
Types
Constructors
Properties
See also
Inheritors
See also
Message
Recall
Event
Constructors
Mirai
Message
Recall
Event
Link copied to clipboard
protected
fun
MiraiMessageRecallEvent
(
)
Types
Key
Link copied to clipboard
object
Key
:
BaseEventKey
<
MiraiMessageRecallEvent
<
*
>
>
Properties
bot
Link copied to clipboard
abstract
override
val
bot
:
MiraiBot
component
Link copied to clipboard
open
override
val
component
:
Component
id
Link copied to clipboard
abstract
override
val
id
:
ID
事件的唯一标识。 Mirai事件中并不一定存在id,当原始事件中没有ID的情况下,将会生成一个随机ID。
key
Link copied to clipboard
abstract
val
key
:
Event.Key
<
out
Event
>
messages
Link copied to clipboard
abstract
val
messages
:
Messages
?
尝试得到被撤回的消息内容。
original
Event
Link copied to clipboard
abstract
override
val
originalEvent
:
E
原始的mirai事件对象
timestamp
Link copied to clipboard
abstract
val
timestamp
:
Timestamp
Inheritors
MiraiFriendMessageRecallEvent
Link copied to clipboard
MiraiGroupMessageRecallEvent
Link copied to clipboard