Class ChatMessage
Represents a chat message in the RadzenAIChat component.
Inherited Members
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class ChatMessage
Constructors
ChatMessage()
Represents a chat message in the RadzenAIChat component.
Declaration
public ChatMessage()
Properties
Content
Gets or sets the content of the message.
Declaration
public string Content { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
Gets or sets the unique identifier for the message.
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
IsStreaming
Gets or sets whether this message is currently streaming.
Declaration
public bool IsStreaming { get; set; }
Property Value
Type | Description |
---|---|
bool |
IsUser
Gets or sets whether this message is from the user.
Declaration
public bool IsUser { get; set; }
Property Value
Type | Description |
---|---|
bool |
Timestamp
Gets or sets the timestamp when the message was created.
Declaration
public DateTime Timestamp { get; set; }
Property Value
Type | Description |
---|---|
DateTime |