Luski.Net/Luski.net/Structures/Main/MainSocketGroupChannel.cs

21 lines
558 B
C#
Raw Normal View History

2023-01-01 22:50:39 -05:00
using System.Text.Json.Serialization;
namespace Luski.net.Structures.Main;
2023-01-01 22:50:39 -05:00
public class MainSocketGroupChannel : MainSocketTextChannel
2023-01-01 22:50:39 -05:00
{
[JsonPropertyName("owner")]
[JsonInclude]
public long Owner { get; internal set; } = default!;
}
[JsonSerializable(typeof(MainSocketGroupChannel))]
2023-01-01 22:50:39 -05:00
[JsonSourceGenerationOptions(
GenerationMode = JsonSourceGenerationMode.Default,
PropertyNamingPolicy = JsonKnownNamingPolicy.CamelCase,
WriteIndented = false)]
internal partial class MainSocketGroupChannelContext : JsonSerializerContext
2023-01-01 22:50:39 -05:00
{
}