namespace Govor.API.Hubs.Infrastructure; public static class ChatHubConstants { public const string ReceiveMessage = "ReceiveMessage"; public const string MessageSent = "MessageSent"; public const string MessageRemoved = "MessageRemoved"; public const string MessageEdited = "MessageEdit"; public static string GetUserGroup(Guid userId) => userId.ToString(); public static string GetChatGroup(Guid groupId) => $"group_{groupId}"; public static string GetPrivateChat(Guid groupId) => $"private_{groupId}"; }