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