using System.Text.Json.Serialization; namespace SharpChat.Events { [ChatEventDataFor("user:connect")] public class UserConnectEventData : ChatEventData { [JsonPropertyName("notify")] public bool Notify { get; } public UserConnectEventData(bool notify) { Notify = notify; } } }