sharp-chat/SharpChatCommon/Events/MessageDeleteEventData.cs

14 lines
353 B
C#
Raw Normal View History

2024-05-24 03:44:20 +00:00
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;
}
}
}