about summary refs log tree commit diff
path: root/LibMatrix.LegacyEvents.EventTypes/Common/MjolnirShortcodeEventContent.cs
blob: be8c154661150aa174f99d2268cf16cff316dfc1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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; }
}