Update: Text Channel Stuff

Bugs: Files don't work
Bugs: Video In-Line don't work

Added: idk, everything?
This commit is contained in:
2026-06-03 13:19:21 -04:00
parent cd2d809322
commit f819d7284e
20 changed files with 3447 additions and 908 deletions

View File

@@ -1,4 +1,4 @@
namespace RelayShared.Services;
namespace RelayShared.Services;
public enum WsAction
{
@@ -8,7 +8,11 @@ public enum WsAction
GetChannels,
GetHistory,
RtcJoin,
RtcLeave
RtcLeave,
SendTyping,
GetEditHistory,
CreateChannel,
DeleteChannel
}
public enum WsEvent
@@ -23,8 +27,12 @@ public sealed class WsControlMessage
public WsAction Action { get; set; }
public string? Username { get; set; }
public string? Token { get; set; }
public string? ChannelId { get; set; }
public string? PublicKey { get; set; }
public string? ChannelId { get; set; }
public string? MessageId { get; set; }
public string? ChannelName { get; set; }
public int ChannelType { get; set; } // cast to ChannelType enum
public string? ChannelGroup { get; set; }
}
public sealed class WsEventMessage