diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-10-06 18:29:15 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-10-06 18:29:15 +0200 |
commit | e5591eef3850a9796cc87386128651a828b70697 (patch) | |
tree | 7e501ec749229a3d96838265289266bb6f6ce208 /LibMatrix/EventTypes/Common/MjolnirShortcodeEventContent.cs | |
parent | Unit tests, small refactors (diff) | |
download | LibMatrix-e5591eef3850a9796cc87386128651a828b70697.tar.xz |
Small refactors
Diffstat (limited to 'LibMatrix/EventTypes/Common/MjolnirShortcodeEventContent.cs')
-rw-r--r-- | LibMatrix/EventTypes/Common/MjolnirShortcodeEventContent.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/LibMatrix/EventTypes/Common/MjolnirShortcodeEventContent.cs b/LibMatrix/EventTypes/Common/MjolnirShortcodeEventContent.cs new file mode 100644 index 0000000..9067351 --- /dev/null +++ b/LibMatrix/EventTypes/Common/MjolnirShortcodeEventContent.cs @@ -0,0 +1,11 @@ +using System.Text.Json.Serialization; +using LibMatrix.Helpers; +using LibMatrix.Interfaces; + +namespace LibMatrix.EventTypes.Common; + +[MatrixEvent(EventName = "org.matrix.mjolnir.shortcode")] +public class MjolnirShortcodeEventContent : EventContent { + [JsonPropertyName("shortcode")] + public string? Shortcode { get; set; } +} |