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