18 lines
500 B
C#
18 lines
500 B
C#
namespace RelayShared.Services;
|
|
|
|
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; }
|
|
}
|
|
|
|
public sealed class SocketChannelList
|
|
{
|
|
public SignalType Type { get; set; } = SignalType.ChannelList;
|
|
public List<ChannelItem> Channels { get; set; } = [];
|
|
} |