blob: 7ce56c428925f94a1ed7e04e1d54af80d6adabec (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
using System.Text.Json.Serialization;
namespace MatrixRoomUtils.Core;
public class JoinRules {
private static string Public = "public";
private static string Invite = "invite";
private static string Knock = "knock";
[JsonPropertyName("join_rule")]
public string JoinRule { get; set; }
[JsonPropertyName("allow")]
public List<string> Allow { get; set; }
}
|