mirai
2.16.0
common
mirai-core-api
/
net.mamoe.mirai.message.data
/
ForwardMessage
/
Node
Node
@
Serializable
data
class
Node
(
val
senderId
:
Long
,
val
time
:
Int
,
val
senderName
:
String
,
val
messageChain
:
MessageChain
)
:
ForwardMessage.INode
消息节点
Members
Constructors
Node
Link copied to clipboard
constructor
(
senderId
:
Long
,
time
:
Int
,
senderName
:
String
,
message
:
Message
)
constructor
(
senderId
:
Long
,
time
:
Int
,
senderName
:
String
,
messageChain
:
MessageChain
)
Properties
message
Chain
Link copied to clipboard
open
override
val
messageChain
:
MessageChain
消息内容
sender
Id
Link copied to clipboard
open
override
val
senderId
:
Long
发送人
User.id
sender
Name
Link copied to clipboard
open
override
val
senderName
:
String
发送人昵称
time
Link copied to clipboard
open
override
val
time
:
Int
时间戳 秒