about summary refs log tree commit diff
path: root/MatrixUtils.LibDMSpace/StateEvents/DMSpaceChildLayer.cs
blob: 16c7b703cfea295ab242f6ab30637372df263333 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System.Text.Json.Serialization;
using LibMatrix.EventTypes;
using LibMatrix.Interfaces;

namespace MatrixUtils.LibDMSpace.StateEvents;

[MatrixEvent(EventName = EventId)]
public class DMSpaceChildLayer : EventContent {
    public const string EventId = "gay.rory.dm_space_child_layer";

    [JsonPropertyName("space_id")]
    public string SpaceId { get; set; }
    
    [JsonPropertyName("override_name")]
    public string? OverrideName { get; set; }
    
    [JsonPropertyName("override_avatar")]
    public string? OverrideAvatar { get; set; }
    
}