Simple Robot 组件 | OneBot
Toggle table of contents
1.8.1
common
Platform filter
common
Switch theme
Search in API
Simple Robot 组件 | OneBot
simbot-component-onebot-v11-message
/
love.forte.simbot.component.onebot.v11.message.segment
/
OneBotForwardNode
/
Data
Data
@
Serializable
data
class
Data
(
val
id
:
ID
?
=
null
,
val
userId
:
ID
?
=
null
,
val
nickname
:
String
?
=
null
,
val
content
:
List
<
OneBotMessageSegment
>
?
=
null
)
(
source
)
一个普通的节点或一个自定义节点. 如果没有
id
,则应当存在
userId
、
nickname
、
content
。
Author
ForteScarlet
Members
Constructors
Data
Link copied to clipboard
constructor
(
id
:
ID
?
=
null
,
userId
:
ID
?
=
null
,
nickname
:
String
?
=
null
,
content
:
List
<
OneBotMessageSegment
>
?
=
null
)
Properties
content
Link copied to clipboard
val
content
:
List
<
OneBotMessageSegment
>
?
=
null
id
Link copied to clipboard
val
id
:
ID
?
=
null
nickname
Link copied to clipboard
val
nickname
:
String
?
=
null
user
Id
Link copied to clipboard
@
SerialName
(
value
=
"user_id"
)
val
userId
:
ID
?
=
null