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

namespace LibMatrix.LegacyEvents.EventTypes.Spec.State;

[LegacyMatrixEvent(EventName = EventId)]
public class SpaceChildLegacyEventContent : LegacyEventContent {
    public const string EventId = "m.space.child";

    [JsonPropertyName("auto_join")]
    public bool? AutoJoin { get; set; }

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

    [JsonPropertyName("suggested")]
    public bool? Suggested { get; set; }
}