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

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; }
}