Foxchat.NET/Foxchat.Core/Models/Guilds.cs

14 lines
320 B
C#
Raw Permalink Normal View History

2024-05-21 20:14:52 +02:00
using Newtonsoft.Json;
namespace Foxchat.Core.Models;
public static class Guilds
{
public record Guild(
string Id,
string Name,
IEnumerable<string> OwnerIds,
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
IEnumerable<Channels.PartialChannel>? Channels
);
}