Table of Contents

Class ChatMessage

Namespace
XENBIT.ResQueServe.Core.Models
Assembly
RQS.Core.dll

Represents a chat message with user details, creation timestamp, and message content.

public record ChatMessage : IEquatable<ChatMessage>
Inheritance
ChatMessage
Implements
Inherited Members

Properties

CreatedOn

Gets or sets the date and time when the message was created.

public DateTimeOffset CreatedOn { get; set; }

Property Value

DateTimeOffset

FromUser

Gets or sets the user who sent the message. Is null if system message.

public IUserInfo? FromUser { get; set; }

Property Value

IUserInfo

FromUserIsSupervisor

Gets or sets a value indicating whether the sender is a supervisor.

public bool FromUserIsSupervisor { get; set; }

Property Value

bool

Text

Gets or sets the text content of the message.

public required string Text { get; set; }

Property Value

string