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