Class ChatMessage
Represents a chat message in the conversation history.
Inherited Members
Namespace: Radzen
Assembly: Radzen.Blazor.dll
Syntax
public class ChatMessage
Constructors
ChatMessage()
Represents a chat message in the conversation history.
Declaration
public ChatMessage()
Properties
Content
Gets or sets the content of the message.
Declaration
public string Content { get; set; }
Property Value
Type | Description |
---|---|
string |
Role
Gets or sets the role of the message sender (system, user, or assistant).
Declaration
public string Role { get; set; }
Property Value
Type | Description |
---|---|
string |
Timestamp
Gets or sets the timestamp when the message was created.
Declaration
public DateTime Timestamp { get; set; }
Property Value
Type | Description |
---|---|
DateTime |