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

namespace LibMatrix.EventTypes.Spec.State;

[MatrixEvent(EventName = EventId)]
public class RoomPinnedEventContent : EventContent {
    public const string EventId = "m.room.pinned_events";

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