sharp-chat/SharpChatCommon/Events/UserConnectEventData.cs
2024-05-29 20:51:41 +00:00

13 lines
338 B
C#

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;
}
}
}