sharp-chat/SharpChatCommon/Events/MessageDeleteEventData.cs

13 lines
353 B
C#

using System.Text.Json.Serialization;
namespace SharpChat.Events {
[ChatEventDataFor("msg:delete")]
public class MessageDeleteEventData : ChatEventData {
[JsonPropertyName("msg")]
public string MessageId { get; }
public MessageDeleteEventData(string messageId) {
MessageId = messageId;
}
}
}