Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class ChatUser

    Represents a chat participant in the RadzenChat component.

    Inheritance
    object
    ChatUser
    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 ChatUser

    Constructors

    ChatUser()

    Represents a chat participant in the RadzenChat component.

    Declaration
    public ChatUser()

    Properties

    AvatarUrl

    Gets or sets the avatar URL for the participant.

    Declaration
    public string AvatarUrl { get; set; }
    Property Value
    Type Description
    string

    Color

    Gets or sets the color theme for the participant's messages.

    Declaration
    public string Color { get; set; }
    Property Value
    Type Description
    string

    Id

    Gets or sets the unique identifier for the participant.

    Declaration
    public string Id { get; set; }
    Property Value
    Type Description
    string

    IsOnline

    Gets or sets whether the participant is currently online.

    Declaration
    public bool IsOnline { get; set; }
    Property Value
    Type Description
    bool

    Metadata

    Gets or sets additional metadata for the participant.

    Declaration
    public Dictionary<string, object> Metadata { get; set; }
    Property Value
    Type Description
    Dictionary<string, object>

    Name

    Gets or sets the display name of the participant.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    string

    Methods

    GetInitials()

    Gets the initials for the participant based on their name.

    Declaration
    public string GetInitials()
    Returns
    Type Description
    string

    The initials string.

    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