14 lines
338 B
C#
14 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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|