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

namespace LibMatrix.EventTypes.Spec.State;

[MatrixEvent(EventName = EventId)]
public class SpaceParentEventContent : EventContent {
    public const string EventId = "m.space.parent";

    [JsonPropertyName("via")]
    public string[]? Via { get; set; }

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