21 lines
536 B
C#
21 lines
536 B
C#
|
using System.Text.Json.Serialization;
|
|||
|
|
|||
|
namespace Luski.net.JsonTypes;
|
|||
|
|
|||
|
public class SocketGroupChannel : SocketTextChannel
|
|||
|
{
|
|||
|
[JsonPropertyName("owner")]
|
|||
|
[JsonInclude]
|
|||
|
public long Owner { get; internal set; } = default!;
|
|||
|
}
|
|||
|
|
|||
|
[JsonSerializable(typeof(SocketGroupChannel))]
|
|||
|
[JsonSourceGenerationOptions(
|
|||
|
GenerationMode = JsonSourceGenerationMode.Default,
|
|||
|
PropertyNamingPolicy = JsonKnownNamingPolicy.CamelCase,
|
|||
|
WriteIndented = false)]
|
|||
|
internal partial class SocketGroupChannelContext : JsonSerializerContext
|
|||
|
{
|
|||
|
|
|||
|
}
|