about summary refs log tree commit diff
path: root/LibMatrix/StateEventTypes/Spec/JoinRulesEventData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'LibMatrix/StateEventTypes/Spec/JoinRulesEventData.cs')
-rw-r--r--LibMatrix/StateEventTypes/Spec/JoinRulesEventData.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/LibMatrix/StateEventTypes/Spec/JoinRulesEventData.cs b/LibMatrix/StateEventTypes/Spec/JoinRulesEventData.cs
index d3da559..08e8f22 100644
--- a/LibMatrix/StateEventTypes/Spec/JoinRulesEventData.cs
+++ b/LibMatrix/StateEventTypes/Spec/JoinRulesEventData.cs
@@ -12,6 +12,10 @@ public class JoinRulesEventData : IStateEventType {
     private static string Invite = "invite";
     private static string Knock = "knock";
 
+    /// <summary>
+    /// one of ["public", "invite", "knock", "restricted", "knock_restricted"]
+    /// "private" is reserved without implementation!
+    /// </summary>
     [JsonPropertyName("join_rule")]
     public string JoinRule { get; set; }