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

namespace LibMatrix.EventTypes.Spec.State;

[MatrixEvent(EventName = "m.space.child")]
public class SpaceChildEventContent : TimelineEventContent {
    [JsonPropertyName("auto_join")]
    public bool? AutoJoin { get; set; }
    [JsonPropertyName("via")]
    public List<string>? Via { get; set; }
    [JsonPropertyName("suggested")]
    public bool? Suggested { get; set; }
}