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

namespace LibMatrix.EventTypes.Interop.Draupnir;

[MatrixEvent(EventName = EventId)]
public class DraupnirProtectedRoomsData : EventContent {
    public const string EventId = "org.matrix.mjolnir.protected_rooms";

    [JsonPropertyName("rooms")]
    public List<string> Rooms { get; set; } = new();
}