about summary refs log tree commit diff
path: root/LibMatrix.LegacyEvents.EventTypes/Spec/State/Space/SpaceChildEventContent.cs
blob: bd8ff640866257414ca37cc07c0c81ace18d6a10 (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;

[MatrixEvent(EventName = EventId)]
public class SpaceChildEventContent : EventContent {
    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; }
}