A small immutable event type used to represent a reply to an admin chat request. It holds the request Guid, a CommandResult payload, and a mutable flag to suppress default chat display.
namespace SboxSuperuser;
/// <summary>Private client notification from a verified host reply; it grants no command authority.</summary>
public sealed class AdminChatResultEvent
{
/// <summary>Gets the request ID associated with this reply.</summary>
public Guid RequestId { get; }
/// <summary>Gets immutable caller-safe status, message and structured fields.</summary>
public CommandResult Result { get; }
/// <summary>Set true when a custom view rendered this result to avoid duplicate default chatbox display.</summary>
public bool SuppressDefaultDisplay { get; set; }
internal AdminChatResultEvent( Guid requestId, CommandResult result )
{
RequestId = requestId;
Result = result;
}
}