Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class ChatMessage

    Represents a chat message in the RadzenAIChat component.

    Inheritance
    object
    ChatMessage
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    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

    Introducing Radzen Blazor Studio

    Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles. Write less code and get more done.

    Learn More

    Download Now
    Download Now
    In This Article
    Back to top Radzen Blazor Components, © 2018-2025 Radzen. Source Code licensed under MIT