sharp-chat/SharpChatCommon/Events/UserConnectEventData.cs

14 lines
338 B
C#
Raw Permalink Normal View History

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