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

namespace LibMatrix.EventTypes.Spec.State;

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