Setting stage for channel types and groups
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user