about summary refs log tree commit diff
path: root/MatrixRoomUtils.Core/StateEventTypes/Spec/SpaceChildEventData.cs
blob: bb62d92b56e4f8065cf3ba8f61e4e6e86f890129 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using System.Text.Json.Serialization;
using MatrixRoomUtils.Core.Extensions;
using MatrixRoomUtils.Core.Interfaces;

namespace MatrixRoomUtils.Core.StateEventTypes.Spec; 

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