From f866946fbbe962c712049327ade9dcbd43900295 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Sun, 25 Jun 2023 03:07:05 +0200 Subject: Working state, refactored Rory&::LibMatrix --- MatrixRoomUtils.Core/UserIdAndReason.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 MatrixRoomUtils.Core/UserIdAndReason.cs (limited to 'MatrixRoomUtils.Core/UserIdAndReason.cs') diff --git a/MatrixRoomUtils.Core/UserIdAndReason.cs b/MatrixRoomUtils.Core/UserIdAndReason.cs new file mode 100644 index 0000000..3801077 --- /dev/null +++ b/MatrixRoomUtils.Core/UserIdAndReason.cs @@ -0,0 +1,10 @@ +using System.Text.Json.Serialization; + +namespace MatrixRoomUtils.Core; + +internal class UserIdAndReason { + [JsonPropertyName("user_id")] + public string UserId { get; set; } + [JsonPropertyName("reason")] + public string? Reason { get; set; } +} \ No newline at end of file -- cgit 1.4.1