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

namespace LibMatrix.StateEventTypes.Spec;

[MatrixEvent(EventName = "m.space.parent")]
public class SpaceParentEventData : IStateEventType {
    [JsonPropertyName("via")]
    public string[]? Via { get; set; }

    [JsonPropertyName("canonical")]
    public bool? Canonical { get; set; }
}