about summary refs log tree commit diff
path: root/LibMatrix.EventTypes/Common/MjolnirShortcodeEventContent.cs
blob: a4974e34f461990dbb875ff7615f358317a82230 (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; }
}