You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
389 B
C#
10 lines
389 B
C#
namespace TinyChat;
|
|
|
|
/// <summary>
|
|
/// Represents a chat message with a sender and content.
|
|
/// </summary>
|
|
/// <param name="Sender">The sender of the message.</param>
|
|
/// <param name="Content">The content of the message.</param>
|
|
[System.Diagnostics.DebuggerDisplay("{Sender.Name}: {Content.Content}")]
|
|
public record ChatMessage(ISender Sender, IChatMessageContent Content) : IChatMessage;
|