about summary refs log tree commit diff
path: root/LibMatrix/StateEventTypes/Spec/RoomPinnedEventData.cs
blob: bb78aeb11c04a526c44fef39aa017d5b493fb780 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
using System.Text.Json.Serialization;
using LibMatrix.Helpers;
using LibMatrix.Interfaces;

namespace LibMatrix.StateEventTypes.Spec;

[MatrixEvent(EventName = "m.room.pinned_events")]
public class RoomPinnedEventData : IStateEventType {
    [JsonPropertyName("pinned")]
    public string[]? PinnedEvents { get; set; }
}