Semantic Kernel JavaScript
Preparing search index...
semantic-kernel
ChatMessage
Class ChatMessage
Index
Constructors
constructor
Properties
additional
Properties?
author
Name?
contents
raw
Representation
role
Accessors
text
Methods
to
String
create
Constructors
constructor
new
ChatMessage
(
__namedParameters
:
{
content
?:
null
|
string
;
contents
?:
AIContent
[]
;
role
:
ChatRole
;
}
,
)
:
ChatMessage
Parameters
__namedParameters
:
{
content
?:
null
|
string
;
contents
?:
AIContent
[]
;
role
:
ChatRole
}
Returns
ChatMessage
Properties
Optional
additional
Properties
additionalProperties
?:
AdditionalProperties
<
unknown
>
Optional
author
Name
authorName
?:
string
contents
contents
:
AIContent
[]
raw
Representation
rawRepresentation
:
unknown
role
role
:
ChatRole
Accessors
text
get
text
()
:
string
Returns
string
Methods
to
String
toString
()
:
string
Returns
string
Static
create
create
(
chatMessages
:
string
|
ChatMessage
[]
)
:
ChatMessage
[]
Parameters
chatMessages
:
string
|
ChatMessage
[]
Returns
ChatMessage
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
additional
Properties
author
Name
contents
raw
Representation
role
Accessors
text
Methods
to
String
create
Semantic Kernel JavaScript
Loading...