dashboard-react
Preparing search index...
ChatMessage
Interface ChatMessage
One chat message in a conversation, including optional reasoning and token metadata.
interface
ChatMessage
{
id
:
string
;
role
:
"user"
|
"assistant"
;
content
:
string
;
timestamp
:
number
;
attachments
?:
MessageAttachment
[]
;
thinkingContent
?:
string
;
generatedImages
?:
string
[]
;
ttftMs
?:
number
;
tps
?:
number
;
tokens
?:
{
token
:
string
;
probability
:
number
;
logprob
:
number
;
topLogprobs
?:
{
token
:
string
;
logprob
:
number
}
[]
;
}
[]
;
}
Index
Properties
id
role
content
timestamp
attachments?
thinking
Content?
generated
Images?
ttft
Ms?
tps?
tokens?
Properties
id
id
:
string
role
role
:
"user"
|
"assistant"
content
content
:
string
timestamp
timestamp
:
number
Optional
attachments
attachments
?:
MessageAttachment
[]
Optional
thinking
Content
thinkingContent
?:
string
Optional
generated
Images
generatedImages
?:
string
[]
Optional
ttft
Ms
ttftMs
?:
number
Optional
tps
tps
?:
number
Optional
tokens
tokens
?:
{
token
:
string
;
probability
:
number
;
logprob
:
number
;
topLogprobs
?:
{
token
:
string
;
logprob
:
number
}
[]
;
}
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
id
role
content
timestamp
attachments
thinking
Content
generated
Images
ttft
Ms
tps
tokens
dashboard-react
Loading...
One chat message in a conversation, including optional reasoning and token metadata.