about summary refs log tree commit diff
path: root/MatrixUtils.LibDMSpace/StateEvents/DMSpaceInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MatrixUtils.LibDMSpace/StateEvents/DMSpaceInfo.cs')
-rw-r--r--MatrixUtils.LibDMSpace/StateEvents/DMSpaceInfo.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/MatrixUtils.LibDMSpace/StateEvents/DMSpaceInfo.cs b/MatrixUtils.LibDMSpace/StateEvents/DMSpaceInfo.cs
new file mode 100644
index 0000000..0df1913
--- /dev/null
+++ b/MatrixUtils.LibDMSpace/StateEvents/DMSpaceInfo.cs
@@ -0,0 +1,14 @@
+using System.Text.Json.Serialization;
+using LibMatrix.EventTypes;
+using LibMatrix.Interfaces;
+
+namespace MatrixUtils.LibDMSpace.StateEvents;
+
+[MatrixEvent(EventName = EventId)]
+public class DMSpaceInfo : TimelineEventContent {
+    public const string EventId = "gay.rory.dm_space_info";
+
+    [JsonPropertyName("is_layered")]
+    public bool LayerByUser { get; set; }
+
+}