langchain.js
Preparing search index...
@langchain/langgraph-sdk
react-ui
UIMessage
Interface UIMessage<TName, TProps>
interface
UIMessage
<
TName
extends
string
=
string
,
TProps
extends
Record
<
string
,
unknown
>
=
Record
<
string
,
unknown
>
,
>
{
id
:
string
;
metadata
?:
{
merge
?:
boolean
;
message_id
?:
string
;
name
?:
string
;
run_id
?:
string
;
tags
?:
string
[]
;
[
key
:
string
]:
unknown
;
}
;
name
:
TName
;
props
:
TProps
;
type
:
"ui"
;
}
Type Parameters
TName
extends
string
=
string
TProps
extends
Record
<
string
,
unknown
>
=
Record
<
string
,
unknown
>
Index
Properties
id
metadata?
name
props
type
Properties
id
id
:
string
Optional
metadata
metadata
?:
{
merge
?:
boolean
;
message_id
?:
string
;
name
?:
string
;
run_id
?:
string
;
tags
?:
string
[]
;
[
key
:
string
]:
unknown
;
}
name
name
:
TName
props
props
:
TProps
type
type
:
"ui"
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
id
metadata
name
props
type
langchain.js
Loading...