Files
Relay/RelayShared/Services/ChannelEnums.cs
2026-06-06 23:38:50 -04:00

24 lines
944 B
C#

namespace RelayShared.Services;
/// <summary>
/// Drives both rendering (sidebar icon, message view vs RTC view) and server-side routing
/// (file mirror destination must be ChannelType.File, RTC join only on Voice/Stage).
/// </summary>
public enum ChannelType
{
/// <summary>Default. Linear chat: text, markdown, embeds, attachments. Sidebar prefix "#".</summary>
Text,
/// <summary>WebRTC voice/video. Sidebar prefix 🔊. Selecting auto-swaps to the RTC view.</summary>
Voice,
/// <summary>File browser. Receives auto-mirrored attachments from any Text channel that points here via LinkedFileChannelId. Sidebar prefix 📁.</summary>
File,
/// <summary>Forum-style threaded posts. Sidebar prefix 📋. Currently a placeholder type.</summary>
Forum,
/// <summary>Announcement-style voice. Modified WebRTC where most participants are listeners. Sidebar prefix 🎤. Placeholder.</summary>
Stage
}