AutoTweaker API
Toggle table of contents
0.2.0-alpha.1+d0e71621
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
AutoTweaker API
AutoTweaker API
/
io.github.autotweaker.api.types.agent
/
AgentMessage
/
User
User
jvm
@
Serializable
data
class
User
(
val
id
:
UUID
,
val
timestamp
:
Instant
,
val
content
:
MessageContent
)
:
AgentMessage
(
source
)
表示一条用户消息。
Members
Constructors
User
Link copied to clipboard
jvm
constructor
(
id
:
UUID
,
timestamp
:
Instant
,
content
:
MessageContent
)
Properties
content
Link copied to clipboard
jvm
val
content
:
MessageContent
用户消息的内容,也可能包含系统注入。
id
Link copied to clipboard
jvm
@
Serializable
(
with
=
UuidSerializer::class
)
open
override
val
id
:
UUID
消息 id,每种消息都有。
timestamp
Link copied to clipboard
jvm
open
override
val
timestamp
:
Instant
消息时间戳,每种消息都有。