Message
Message
DMessage
An object containing message data.
id
required
Unique identifier for the message.
Type:
string | number
text
required
Text content of the message.
Type:
string
role
required
Owner of the message (e.g., user or assistant).
Type:
'assistant' | 'user'
info
Additional information about the message.
Type:
string
parentId
Identifier of the parent message (if this message is a reply).
Type:
string | number
time
Timestamp of the message.
Type:
number