|
| LinkPost (Dispatch dispatch, Things.Post listing) |
| Create a new link post controller instance from API return data. More...
|
|
| LinkPost (Dispatch dispatch, string subreddit, string title, string author, string url, string thumbnail=null, int? thumbnailHeight=null, int? thumbnailWidth=null, JObject preview=null, string id=null, string fullname=null, string permalink=null, DateTime created=default(DateTime), DateTime edited=default(DateTime), int score=0, int upVotes=0, int downVotes=0, bool removed=false, bool spam=false, bool nsfw=false) |
| Create a new link post controller instance, populated manually. More...
|
|
| LinkPost (Dispatch dispatch, string fullname) |
| Create a new link post controller instance, populated only with its fullname. More...
|
|
| LinkPost (Dispatch dispatch, string fullname, string subreddit) |
| Create a new link post controller instance, populated only with its fullname and subreddit. More...
|
|
| LinkPost (Dispatch dispatch, string subreddit, string title=null, string url=null, string author=null, string thumbnail=null, int? thumbnailHeight=null, int? thumbnailWidth=null, JObject preview=null, string id=null, string fullname=null, string permalink=null, DateTime created=default(DateTime), DateTime edited=default(DateTime), int score=0, int upVotes=0, int downVotes=0, bool removed=false, bool spam=false) |
| Create a new link post controller instance, populated manually. More...
|
|
| LinkPost (Dispatch dispatch, PostResultShortData postResultShortData, LinkPost linkPost) |
| Create a new link post controller instance, populated from post result data. More...
|
|
| LinkPost (Dispatch dispatch, SelfPost selfPost) |
| Create a new link post controller instance, populated from SelfPost data. More...
|
|
| LinkPost (Dispatch dispatch) |
| Create an empty link post controller instance. More...
|
|
LinkPost | Submit (bool resubmit=false, bool ad=false, string app="", string extension="", string flairId="", string flairText="", string gRecapthaResponse="", bool sendReplies=true, bool spoiler=false, string videoPosterUrl="") |
| Submit this link post to Reddit. More...
|
|
async Task< LinkPost > | SubmitAsync (bool resubmit=false, bool ad=false, string app="", string extension="", string flairId="", string flairText="", string gRecapthaResponse="", bool sendReplies=true, bool spoiler=false, string videoPosterUrl="") |
| Submit this link post to Reddit asynchronously. This instance will automatically be updated with the resulting fullname/id. More...
|
|
LinkPost | Submit (LinksAndCommentsSubmitInput linksAndCommentsSubmitInput, string gRecapthaResponse="") |
| Submit this link post to Reddit. More...
|
|
async Task< LinkPost > | SubmitAsync (LinksAndCommentsSubmitInput linksAndCommentsSubmitInput, string gRecapthaResponse="") |
| Submit this link post to Reddit asynchronously. More...
|
|
LinkPost | XPostTo (string subreddit) |
| Cross-post this to another subreddit. More...
|
|
async Task< LinkPost > | XPostToAsync (string subreddit) |
| Cross-post this to another subreddit asynchronously. More...
|
|
new LinkPost | About () |
| Return information about the current LinkPost instance. More...
|
|
List< LinkPost > | GetDuplicates (string after="", string before="", bool crosspostsOnly=false, string sort="new", string sr="", int count=0, int limit=25, string show="all", bool srDetail=false) |
| Return a list of other submissions of the same URL. More...
|
|
List< LinkPost > | GetDuplicates (ListingsGetDuplicatesInput listingsGetDuplicatesInput) |
| Return a list of other submissions of the same URL. More...
|
|
List< LinkPost > | GetCrossPosts (string after="", string before="", string sort="new", string sr="", int count=0, int limit=25, string show="all", bool srDetail=false) |
| Return a list of crossposts. More...
|
|
List< LinkPost > | GetCrossPosts (ListingsGetDuplicatesInput listingsGetDuplicatesInput) |
| Return a list of crossposts. More...
|
|
| Post (Dispatch dispatch, Things.Post listing) |
| Create a new post controller instance from API return data. More...
|
|
| Post (Dispatch dispatch, string subreddit, string title=null, string author=null, string id=null, string fullname=null, string permalink=null, DateTime created=default(DateTime), DateTime edited=default(DateTime), int score=0, int upVotes=0, int downVotes=0, bool removed=false, bool spam=false, bool nsfw=false) |
| Create a new post controller instance, populated manually. More...
|
|
| Post (Dispatch dispatch, string fullname) |
| Create a new post controller instance, populated with only its fullname. More...
|
|
| Post (Dispatch dispatch, string fullname, string subreddit) |
| Create a new post controller instance, populated with only its fullname and subreddit. More...
|
|
| Post (Dispatch dispatch) |
| Create an empty post controller instance. More...
|
|
void | SetTitle (string value) |
| Set the title manually without any automatic decoding. More...
|
|
Comment | Comment (string body, string bodyHtml=null, string author=null, string collapsedReason=null, bool collapsed=false, bool isSubmitter=false, List< Comment > replies=null, List< More > more=null, bool scoreHidden=false, int depth=0, string id=null, string fullname=null, string permalink=null, DateTime created=default(DateTime), DateTime edited=default(DateTime), int score=0, int upVotes=0, int downVotes=0, bool removed=false, bool spam=false) |
| Create a new comment controller instance bound to this post, populated manually. More...
|
|
Comment | Comment () |
| Create a new comment controller instance bound to this post. More...
|
|
Comment | Reply (string body, string bodyHtml=null, string author=null, string collapsedReason=null, bool collapsed=false, bool isSubmitter=false, List< Comment > replies=null, List< More > more=null, bool scoreHidden=false, int depth=0, string id=null, string fullname=null, string permalink=null, DateTime created=default(DateTime), DateTime edited=default(DateTime), int score=0, int upVotes=0, int downVotes=0, bool removed=false, bool spam=false) |
| Reply with a comment to this post. More...
|
|
async Task< Comment > | ReplyAsync (string body, string bodyHtml=null, string author=null, string collapsedReason=null, bool collapsed=false, bool isSubmitter=false, List< Comment > replies=null, List< More > more=null, bool scoreHidden=false, int depth=0, string id=null, string fullname=null, string permalink=null, DateTime created=default(DateTime), DateTime edited=default(DateTime), int score=0, int upVotes=0, int downVotes=0, bool removed=false, bool spam=false) |
| Reply with a comment to this post asynchronously. More...
|
|
Post | About () |
| Return information about the current Post instance. More...
|
|
Post | Info () |
| Return information about the current Post instance via the api/info endpoint. More...
|
|
void | SetFlair (string flairText="", string flairTemplateId="") |
| Sets the link flair. More...
|
|
void | SetFlair (FlairSelectFlairInput flairSelectFlairInput) |
| Sets the link flair. More...
|
|
Post | Distinguish (string how) |
| Distinguish a post's author with a sigil. This can be useful to draw attention to and confirm the identity of the user in the context of a link of theirs. The options for distinguish are as follows: yes - add a moderator distinguish([M]). only if the user is a moderator of the subreddit the thing is in. no - remove any distinguishes. admin - add an admin distinguish([A]). admin accounts only. special - add a user-specific distinguish. depends on user. More...
|
|
async Task< Post > | DistinguishAsync (string how) |
| Distinguish a post's author with a sigil asynchronously. This can be useful to draw attention to and confirm the identity of the user in the context of a link of theirs. The options for distinguish are as follows: yes - add a moderator distinguish([M]). only if the user is a moderator of the subreddit the thing is in. no - remove any distinguishes. admin - add an admin distinguish([A]). admin accounts only. special - add a user-specific distinguish. depends on user. More...
|
|
void | Remove (bool spam=false) |
| Remove this post from all subreddit listings. More...
|
|
async Task | RemoveAsync (bool spam=false) |
| Asynchronously remove this post from all subreddit listings. More...
|
|
void | Delete () |
| Delete this post. More...
|
|
async Task | DeleteAsync () |
| Delete this post asynchronously. More...
|
|
void | Hide () |
| Hide this post. This removes it from the user's default view of subreddit listings. More...
|
|
async Task | HideAsync () |
| Hide this post asynchronously. This removes it from the user's default view of subreddit listings. More...
|
|
void | Lock () |
| Lock this post. Prevents a post from receiving new comments. More...
|
|
async Task | LockAsync () |
| Lock this post asynchronously. Prevents a post from receiving new comments. More...
|
|
void | MarkNSFW () |
| Mark this post as NSFW. More...
|
|
async Task | MarkNSFWAsync () |
| Mark this post as NSFW asynchronously. More...
|
|
MoreChildren | MoreChildren (string children, bool limitChildren, string sort, string id=null) |
| Retrieve additional comments omitted from a base comment tree. When a comment tree is rendered, the most relevant comments are selected for display first. Remaining comments are stubbed out with "MoreComments" links. This API call is used to retrieve the additional comments represented by those stubs, up to 100 at a time. The two core parameters required are link and children. link is the fullname of the link whose comments are being fetched. children is a comma-delimited list of comment ID36s that need to be fetched. If id is passed, it should be the ID of the MoreComments object this call is replacing. This is needed only for the HTML UI's purposes and is optional otherwise. NOTE: you may only make one request at a time to this API endpoint. Higher concurrency will result in an error being returned. If limit_children is True, only return the children requested. More...
|
|
MoreChildren | MoreChildren (LinksAndCommentsMoreChildrenInput linksAndCommentsMoreChildrenInput) |
| Retrieve additional comments omitted from a base comment tree. When a comment tree is rendered, the most relevant comments are selected for display first. Remaining comments are stubbed out with "MoreComments" links. This API call is used to retrieve the additional comments represented by those stubs, up to 100 at a time. The two core parameters required are link and children. link is the fullname of the link whose comments are being fetched. children is a comma-delimited list of comment ID36s that need to be fetched. If id is passed, it should be the ID of the MoreComments object this call is replacing. This is needed only for the HTML UI's purposes and is optional otherwise. NOTE: you may only make one request at a time to this API endpoint. Higher concurrency will result in an error being returned. If limit_children is True, only return the children requested. More...
|
|
void | Report (string additionalInfo, string banEvadingAccountsNames, string customText, bool fromHelpCenter, string otherReason, string reason, string ruleReason, string siteReason, string violatorUsername) |
| Report this post to the subreddit moderators. The post then becomes implicitly hidden, as well. More...
|
|
async Task | ReportAsync (string additionalInfo, string banEvadingAccountsNames, string customText, bool fromHelpCenter, string otherReason, string reason, string ruleReason, string siteReason, string violatorUsername) |
| Report this post to the subreddit moderators asynchronously. The post then becomes implicitly hidden, as well. More...
|
|
void | Report (LinksAndCommentsReportInput linksAndCommentsReportInput) |
| Report this post to the subreddit moderators. The post then becomes implicitly hidden, as well. More...
|
|
async Task | ReportAsync (LinksAndCommentsReportInput linksAndCommentsReportInput) |
| Report this post to the subreddit moderators asynchronously. The post then becomes implicitly hidden, as well. More...
|
|
void | Save (string category) |
| Save this post. Saved things are kept in the user's saved listing for later perusal. More...
|
|
async Task | SaveAsync (string category) |
| Save this post asynchronously. Saved things are kept in the user's saved listing for later perusal. More...
|
|
void | EnableSendReplies () |
| Enable inbox replies for this post. More...
|
|
async Task | EnableSendRepliesAsync () |
| Enable inbox replies for this post asynchronously. More...
|
|
void | DisableSendReplies () |
| Disable inbox replies for this post. More...
|
|
async Task | DisableSendRepliesAsync () |
| Disable inbox replies for this post asynchronously. More...
|
|
void | EnableContestMode () |
| Enable contest mode for this post. More...
|
|
async Task | EnableContestModeAsync () |
| Enable contest mode for this post asynchronously. More...
|
|
void | DisableContestMode () |
| Disable contest mode for this post. More...
|
|
async Task | DisableContestModeAsync () |
| Disable contest mode for this post asynchronously. More...
|
|
void | SetSubredditSticky (int num, bool toProfile) |
| Set this post as the sticky in its subreddit. The num argument is optional, and only used when stickying a post. It allows specifying a particular "slot" to sticky the post into, and if there is already a post stickied in that slot it will be replaced. If there is no post in the specified slot to replace, or num is None, the bottom-most slot will be used. More...
|
|
async Task | SetSubredditStickyAsync (int num, bool toProfile) |
| Set this post as the sticky in its subreddit asynchronously. The num argument is optional, and only used when stickying a post. It allows specifying a particular "slot" to sticky the post into, and if there is already a post stickied in that slot it will be replaced. If there is no post in the specified slot to replace, or num is None, the bottom-most slot will be used. More...
|
|
void | UnsetSubredditSticky (int num, bool toProfile) |
| Unset this post as the sticky in its subreddit. The num argument is optional, and only used when stickying a post. It allows specifying a particular "slot" to sticky the post into, and if there is already a post stickied in that slot it will be replaced. If there is no post in the specified slot to replace, or num is None, the bottom-most slot will be used. More...
|
|
async Task | UnsetSubredditStickyAsync (int num, bool toProfile) |
| Unset this post as the sticky in its subreddit asynchronously. The num argument is optional, and only used when stickying a post. It allows specifying a particular "slot" to sticky the post into, and if there is already a post stickied in that slot it will be replaced. If there is no post in the specified slot to replace, or num is None, the bottom-most slot will be used. More...
|
|
void | SetSuggestedSort (string sort) |
| Set a suggested sort for this post. Suggested sorts are useful to display comments in a certain preferred way for posts. For example, casual conversation may be better sorted by new by default, or AMAs may be sorted by Q&A. A sort of an empty string clears the default sort. More...
|
|
async Task | SetSuggestedSortAsync (string sort) |
| Set a suggested sort for this post asynchronously. Suggested sorts are useful to display comments in a certain preferred way for posts. For example, casual conversation may be better sorted by new by default, or AMAs may be sorted by Q&A. A sort of an empty string clears the default sort. More...
|
|
void | Spoiler () |
| Mark this post as containing spoilers. More...
|
|
async Task | SpoilerAsync () |
| Mark this post as containing spoilers asynchronously. More...
|
|
void | Unhide () |
| Unhide this post. More...
|
|
async Task | UnhideAsync () |
| Unhide this post asynchronously. More...
|
|
void | Unlock () |
| Unlock this post. Allows this post to receive new comments. More...
|
|
async Task | UnlockAsync () |
| Unlock this post asynchronously. Allows this post to receive new comments. More...
|
|
void | UnmarkNSFW () |
| Remove the NSFW marking from this post. More...
|
|
async Task | UnmarkNSFWAsync () |
| Remove the NSFW marking from this post asynchronously. More...
|
|
void | Unsave () |
| Unsave this post. This removes the thing from the user's saved listings as well. More...
|
|
async Task | UnsaveAsync () |
| Unsave this post asynchronously. This removes the thing from the user's saved listings as well. More...
|
|
void | Unspoiler () |
| Remove spoiler. More...
|
|
async Task | UnspoilerAsync () |
| Remove spoiler asynchronously. More...
|
|
void | Upvote () |
| Upvote this post. Please note that votes must be cast by humans. Automated bot-voting violates Reddit's rules. That is, API clients proxying a human's action one-for-one are OK, but bots deciding how to vote on content or amplifying a human's vote are not. See the Reddit rules for more details on what constitutes vote cheating. More...
|
|
async Task | UpvoteAsync () |
| Upvote this post asynchronously. Please note that votes must be cast by humans. Automated bot-voting violates Reddit's rules. That is, API clients proxying a human's action one-for-one are OK, but bots deciding how to vote on content or amplifying a human's vote are not. See the Reddit rules for more details on what constitutes vote cheating. More...
|
|
void | Downvote () |
| Downvote this post. Please note that votes must be cast by humans. Automated bot-voting violates Reddit's rules. That is, API clients proxying a human's action one-for-one are OK, but bots deciding how to vote on content or amplifying a human's vote are not. See the Reddit rules for more details on what constitutes vote cheating. More...
|
|
async Task | DownvoteAsync () |
| Downvote this post asynchronously. Please note that votes must be cast by humans. Automated bot-voting violates Reddit's rules. That is, API clients proxying a human's action one-for-one are OK, but bots deciding how to vote on content or amplifying a human's vote are not. See the Reddit rules for more details on what constitutes vote cheating. More...
|
|
void | Unvote () |
| Unvote this post. This is equivalent to "un-voting" by clicking again on a highlighted arrow. Please note that votes must be cast by humans. Automated bot-voting violates Reddit's rules. That is, API clients proxying a human's action one-for-one are OK, but bots deciding how to vote on content or amplifying a human's vote are not. See the Reddit rules for more details on what constitutes vote cheating. More...
|
|
async Task | UnvoteAsync () |
| Unvote this post asynchronously. Please note that votes must be cast by humans. Automated bot-voting violates Reddit's rules. That is, API clients proxying a human's action one-for-one are OK, but bots deciding how to vote on content or amplifying a human's vote are not. See the Reddit rules for more details on what constitutes vote cheating. More...
|
|
void | Approve () |
| Approve this post. If the thing was removed, it will be re-inserted into appropriate listings. Any reports on the approved thing will be discarded. More...
|
|
FlairSelectorResultContainer | FlairSelector (string username) |
| Return information about a users's flair options. More...
|
|
bool | MonitorPostData (int? monitoringDelayMs=null, int? monitoringBaseDelayMs=null, List< MonitoringSchedule > schedule=null, bool? breakOnFailure=null, DateTime? monitoringExpiration=null) |
| Monitor this post for any configuration changes. More...
|
|
bool | MonitorPostScore (int? monitoringDelayMs=null, int? monitoringBaseDelayMs=null, int? minScoreMonitoringThreshold=null, int? scoreMonitoringPercentThreshold=null, int? cancellationThresholdMinutes=null, List< MonitoringSchedule > schedule=null, bool? breakOnFailure=null, DateTime? monitoringExpiration=null) |
| Monitor this post for any score changes. In order for the event to fire, both minScoreMonitoringThreshold AND scoreMonitoringPercentThreshold must be met. More...
|
|
bool | PostDataIsMonitored () |
| Whether post data is being monitored. More...
|
|
bool | PostScoreIsMonitored () |
| Whether post score is being monitored. More...
|
|
| Monitors () |
|
void | Wait (int ms) |
|
bool | IsMonitored (string key, string subKey) |
|
bool | IsScheduled () |
|
void | WaitOrDie (string key, int timeout=60) |
|
void | WaitOrDie (Thread thread, int timeout=60) |
|
void | KillAllMonitoringThreads () |
|
| BaseController () |
| Create a new Controller instance. More...
|
|
Exception | BuildException (Exception ex, List< List< string >> errors) |
|
dynamic | Validate (dynamic obj) |
|
GenericContainer | Validate (GenericContainer genericContainer) |
|
Generic | Validate (Generic generic) |
|
DynamicShortListingContainer | Validate (DynamicShortListingContainer dynamicShortListingContainer) |
|
DynamicShortListingData | Validate (DynamicShortListingData dynamicShortListingData) |
|
ImageUploadResult | Validate (ImageUploadResult imageUploadResult) |
|
LiveUpdateEventContainer | Validate (LiveUpdateEventContainer liveUpdateEventContainer) |
|
LiveThreadCreateResultContainer | Validate (LiveThreadCreateResultContainer liveThreadCreateResultContainer) |
|
LiveUpdateContainer | Validate (LiveUpdateContainer liveUpdateContainer, int? minChildren=null) |
|
SubredditSettingsContainer | Validate (SubredditSettingsContainer subredditSettingsContainer) |
|
SubredditSettings | Validate (SubredditSettings subredditSettings) |
|
List< ActionResult > | Validate (List< ActionResult > actionResults) |
|
ActionResult | Validate (ActionResult actionResult) |
|
FlairListResultContainer | Validate (FlairListResultContainer flairListResultContainer) |
|
Flair | Validate (Flair flair) |
|
FlairV2 | Validate (FlairV2 flairV2) |
|
ModActionContainer | Validate (ModActionContainer modActionContainer) |
|
ModActionData | Validate (ModActionData modActionData) |
|
WikiPageRevisionContainer | Validate (WikiPageRevisionContainer wikiPageRevisionContainer) |
|
WikiPageRevisionData | Validate (WikiPageRevisionData wikiPageRevisionData) |
|
WikiPageSettingsContainer | Validate (WikiPageSettingsContainer wikiPageSettingsContainer) |
|
WikiPageSettings | Validate (WikiPageSettings wikiPageSettings) |
|
List< UserPrefsContainer > | Validate (List< UserPrefsContainer > userPrefsContainers) |
|
UserPrefsContainer | Validate (UserPrefsContainer userPrefsContainer) |
|
UserPrefsData | Validate (UserPrefsData userPrefsData) |
|
PostResultShortContainer | Validate (PostResultShortContainer postResultShortContainer) |
|
PostResultShort | Validate (PostResultShort postResultShort) |
|
PostResultContainer | Validate (PostResultContainer postResultContainer) |
|
PostResult | Validate (PostResult postResult) |
|
JQueryReturn | Validate (JQueryReturn jQueryReturn) |
|
List<(PostContainer, CommentContainer)> | Validate (List<(PostContainer, CommentContainer)> ps) |
|
CommentResultContainer | Validate (CommentResultContainer commentResultContainer) |
|
SubredditContainer | Validate (SubredditContainer subredditContainer) |
|