Interface for a chat command ingress in the SboxSuperuser package. Declares Owns to claim a raw chat message and ExecuteAsync to run it, taking an authenticate callback, a request id and a cancellation token and returning a CommandResult.
namespace SboxSuperuser.Engine.ChatIntegration;
internal interface IChatCommandIngress
{
bool Owns( string message );
Task<CommandResult> ExecuteAsync( Func<ActorIdentity> authenticate, string message, Guid requestId, CancellationToken cancellation );
}