diff --git a/PocketSharp/Components/Account.cs b/PocketSharp/Components/Account.cs index ea761b5..87e85f8 100644 --- a/PocketSharp/Components/Account.cs +++ b/PocketSharp/Components/Account.cs @@ -133,7 +133,8 @@ namespace PocketSharp Followers = response.Account?.Profile?.Follower_count ?? 0, Follows = response.Account?.Profile?.Follow_count ?? 0, Avatar = avatar != null ? new Uri(avatar, UriKind.Absolute) : null, - IsDefaultAvatar = avatar == null || avatar.Contains("pocket-profile-images.") + IsDefaultAvatar = avatar == null || avatar.Contains("pocket-profile-images."), + Description = response.Account?.Profile?.Description }; // save code to client diff --git a/PocketSharp/Models/PocketUser.cs b/PocketSharp/Models/PocketUser.cs index 577a062..88a0e36 100644 --- a/PocketSharp/Models/PocketUser.cs +++ b/PocketSharp/Models/PocketUser.cs @@ -58,5 +58,10 @@ namespace PocketSharp.Models /// Follow count. /// public int Follows { get; set; } + + /// + /// Profile text. + /// + public string Description { get; set; } } } diff --git a/PocketSharp/Models/Response/GetUser.cs b/PocketSharp/Models/Response/GetUser.cs index 5c2629b..4693d7f 100644 --- a/PocketSharp/Models/Response/GetUser.cs +++ b/PocketSharp/Models/Response/GetUser.cs @@ -43,5 +43,7 @@ namespace PocketSharp.Models public int Follow_count { get; set; } public int Follower_count { get; set; } + + public string Description { get; set; } } }