about summary refs log tree commit diff
path: root/LibMatrix.EventTypes/Common/MjolnirShortcodeEventContent.cs
blob: a31cbbba3fc0d0c4b44d0adfbf8e9f15b7832f33 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
using System.Text.Json.Serialization;

namespace LibMatrix.EventTypes.Common;

[MatrixEvent(EventName = EventId)]
public class MjolnirShortcodeEventContent : TimelineEventContent {
    public const string EventId = "org.matrix.mjolnir.shortcode";

    [JsonPropertyName("shortcode")]
    public string? Shortcode { get; set; }
}