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

13 lines
329 B
C#

using System.Text.Json.Serialization;
namespace SharpChat.Events {
[ChatEventDataFor("user:add")]
public class UserAddEventData : ChatEventData {
[JsonPropertyName("super")]
public bool IsSuper { get; }
public UserAddEventData(bool isSuper) {
IsSuper = isSuper;
}
}
}