From 6c489727035d916792d38cb5e80734b370189b80 Mon Sep 17 00:00:00 2001 From: charlieriesner Date: Mon, 26 Jul 2021 12:04:51 +0100 Subject: [PATCH] Add IsPinned property to Post Thing --- RedditSharp/Things/Post.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/RedditSharp/Things/Post.cs b/RedditSharp/Things/Post.cs index bdaed87..178b623 100644 --- a/RedditSharp/Things/Post.cs +++ b/RedditSharp/Things/Post.cs @@ -36,6 +36,12 @@ public Post(IWebAgent agent, JToken json) : base(agent, json) /// [JsonProperty("spoiler")] public bool IsSpoiler { get; set; } + + /// + /// Returns true if this post is pinned + /// + [JsonProperty("pinned")] + public bool IsPinned { get; set; } /// /// Returns true if this post is hidden