about summary refs log tree commit diff
path: root/MatrixRoomUtils.LibDMSpace/StateEvents/DMRoomInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MatrixRoomUtils.LibDMSpace/StateEvents/DMRoomInfo.cs')
-rw-r--r--MatrixRoomUtils.LibDMSpace/StateEvents/DMRoomInfo.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/MatrixRoomUtils.LibDMSpace/StateEvents/DMRoomInfo.cs b/MatrixRoomUtils.LibDMSpace/StateEvents/DMRoomInfo.cs
new file mode 100644
index 0000000..b88f06a
--- /dev/null
+++ b/MatrixRoomUtils.LibDMSpace/StateEvents/DMRoomInfo.cs
@@ -0,0 +1,14 @@
+using System.Text.Json.Serialization;
+using LibMatrix.EventTypes;
+using LibMatrix.Interfaces;
+
+namespace MatrixRoomUtils.LibDMSpace.StateEvents; 
+
+[MatrixEvent(EventName = EventId)]
+public class DMRoomInfo : EventContent {
+    public const string EventId = "gay.rory.dm_room_info";
+    [JsonPropertyName("remote_users")]
+    public List<string> RemoteUsers { get; set; }
+    
+    
+}
\ No newline at end of file