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; } = [];
}