diff options
Diffstat (limited to 'MatrixRoomUtils.Core/StateEventTypes/Common/MjolnirShortcodeEventData.cs')
-rw-r--r-- | MatrixRoomUtils.Core/StateEventTypes/Common/MjolnirShortcodeEventData.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/MatrixRoomUtils.Core/StateEventTypes/Common/MjolnirShortcodeEventData.cs b/MatrixRoomUtils.Core/StateEventTypes/Common/MjolnirShortcodeEventData.cs new file mode 100644 index 0000000..efc946d --- /dev/null +++ b/MatrixRoomUtils.Core/StateEventTypes/Common/MjolnirShortcodeEventData.cs @@ -0,0 +1,11 @@ +using System.Text.Json.Serialization; +using MatrixRoomUtils.Core.Extensions; +using MatrixRoomUtils.Core.Interfaces; + +namespace MatrixRoomUtils.Core.StateEventTypes; + +[MatrixEvent(EventName = "org.matrix.mjolnir.shortcode")] +public class MjolnirShortcodeEventData : IStateEventType { + [JsonPropertyName("shortcode")] + public string? Shortcode { get; set; } +} \ No newline at end of file |