Setting stage for channel types and groups

This commit is contained in:
2026-04-22 21:35:21 -04:00
parent 3b75c2b785
commit 0c9ff3b5d9
5 changed files with 36 additions and 6 deletions

View File

@@ -26,6 +26,14 @@ public enum SignalType
ClientEncryptedChat
}
public enum ChannelType
{
Text, //Default channel type, handles text, links, files*, all in a linear live chat format
Voice, //Used for general voice and video calls, utilizes WebRTC in its intended use
File, //File browser for connected text channels, used for browsing files rather than scrolling through text channel
Forum, //Specific forum posts, meant to keep conversations grouped and on topic while keeping all in an easy to find place
Stage //Used for announcements and presentations, voice/video call utilizing a modified WebRTC protocol through server
}
public sealed class RtcSignalMessage
{
[JsonPropertyName("type")]
@@ -97,6 +105,10 @@ public sealed class ChannelItem
{
public string ChannelId { get; set; } = string.Empty;
public string Name { get; set; } = string.Empty;
public ChannelType Type { get; set; }
public string Group { get; set; } = string.Empty;
public DateTime CreatedAt { get; set; }
}