sharp-chat/SharpChatCommon/Events/UserAddEventData.cs

14 lines
329 B
C#
Raw Normal View History

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