about summary refs log tree commit diff
path: root/MatrixRoomUtils.Core/Responses/ProfileResponse.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MatrixRoomUtils.Core/Responses/ProfileResponse.cs')
-rw-r--r--MatrixRoomUtils.Core/Responses/ProfileResponse.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/MatrixRoomUtils.Core/Responses/ProfileResponse.cs b/MatrixRoomUtils.Core/Responses/ProfileResponse.cs
new file mode 100644
index 0000000..ab6cc92
--- /dev/null
+++ b/MatrixRoomUtils.Core/Responses/ProfileResponse.cs
@@ -0,0 +1,11 @@
+using System.Text.Json.Serialization;
+
+namespace MatrixRoomUtils.Authentication;
+
+public class ProfileResponse
+{
+    [JsonPropertyName("avatar_url")]
+    public string? AvatarUrl { get; set; } = "";
+    [JsonPropertyName("displayname")]
+    public string DisplayName { get; set; } = "";
+}
\ No newline at end of file