/// <summary> /// Asynchronously deny username to edit this wiki page. /// </summary> /// <param name="wikiPageEditorInput">A valid WikiPageEditorInput instance</param> /// <param name="subreddit">The subreddit where the wiki lives</param> public async Task DenyEditorAsync(WikiPageEditorInput wikiPageEditorInput, string subreddit = null) { await SendRequestAsync <object>(Sr(subreddit) + "api/wiki/alloweditor/del", wikiPageEditorInput, Method.POST); }
/// <summary> /// Deny username to edit this wiki page. /// </summary> /// <param name="wikiPageEditorInput">A valid WikiPageEditorInput instance</param> /// <param name="subreddit">The subreddit where the wiki lives</param> public void DenyEditor(WikiPageEditorInput wikiPageEditorInput, string subreddit = null) { SendRequest <object>(Sr(subreddit) + "api/wiki/alloweditor/del", wikiPageEditorInput, Method.POST); }