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

namespace LibMatrix.EventTypes.Spec.State;

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

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