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

namespace LibMatrix.LegacyEvents.EventTypes.Spec.State;

[LegacyMatrixEvent(EventName = EventId)]
public class RoomPinnedLegacyEventContent : LegacyEventContent {
    public const string EventId = "m.room.pinned_events";

    [JsonPropertyName("pinned")]
    public string[]? PinnedEvents { get; set; }
}