Ejemplo n.º 1
0
 /// <summary>
 /// Remove a link, comment, or modmail message asynchronously.
 /// If the thing is a link, it will be removed from all subreddit listings. If the thing is a comment, it will be redacted and removed from all subreddit comment listings.
 /// See also: /api/approve.
 /// </summary>
 /// <param name="moderationRemoveInput">A valid ModerationRemoveInput instance</param>
 public async Task RemoveAsync(ModerationRemoveInput moderationRemoveInput)
 {
     await SendRequestAsync <object>("api/remove", moderationRemoveInput, Method.POST);
 }
Ejemplo n.º 2
0
 // TODO - Test with Modmail.  --Kris
 /// <summary>
 /// Remove a link, comment, or modmail message.
 /// If the thing is a link, it will be removed from all subreddit listings. If the thing is a comment, it will be redacted and removed from all subreddit comment listings.
 /// See also: /api/approve.
 /// </summary>
 /// <param name="moderationRemoveInput">A valid ModerationRemoveInput instance</param>
 public void Remove(ModerationRemoveInput moderationRemoveInput)
 {
     SendRequest <object>("api/remove", moderationRemoveInput, Method.POST);
 }