about summary refs log tree commit diff
path: root/LibMatrix/Responses/UserProfileResponse.cs
diff options
context:
space:
mode:
Diffstat (limited to 'LibMatrix/Responses/UserProfileResponse.cs')
-rw-r--r--LibMatrix/Responses/UserProfileResponse.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/LibMatrix/Responses/UserProfileResponse.cs b/LibMatrix/Responses/UserProfileResponse.cs
new file mode 100644
index 0000000..e56e87b
--- /dev/null
+++ b/LibMatrix/Responses/UserProfileResponse.cs
@@ -0,0 +1,12 @@
+using System.Text.Json.Serialization;
+using LibMatrix.Interfaces;
+
+namespace LibMatrix.Responses;
+
+public class UserProfileResponse {
+    [JsonPropertyName("avatar_url")]
+    public string? AvatarUrl { get; set; }
+
+    [JsonPropertyName("displayname")]
+    public string? DisplayName { get; set; }
+}