about summary refs log tree commit diff
path: root/MatrixUtils.LibDMSpace/StateEvents/DMSpaceChildLayer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MatrixUtils.LibDMSpace/StateEvents/DMSpaceChildLayer.cs')
-rw-r--r--MatrixUtils.LibDMSpace/StateEvents/DMSpaceChildLayer.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/MatrixUtils.LibDMSpace/StateEvents/DMSpaceChildLayer.cs b/MatrixUtils.LibDMSpace/StateEvents/DMSpaceChildLayer.cs
new file mode 100644
index 0000000..16c7b70
--- /dev/null
+++ b/MatrixUtils.LibDMSpace/StateEvents/DMSpaceChildLayer.cs
@@ -0,0 +1,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; }
+    
+}