/// <summary> /// Set or unset "contest mode" for a link's comments asynchronously. /// state is a boolean that indicates whether you are enabling or disabling contest mode - true to enable, false to disable. /// </summary> /// <param name="linksAndCommentsStateInput">a valid LinksAndCommentsStateInput instance</param> /// <returns>A generic response object indicating any errors.</returns> public async Task <GenericContainer> SetContestModeAsync(LinksAndCommentsStateInput linksAndCommentsStateInput) { return(await SendRequestAsync <GenericContainer>("api/set_contest_mode", linksAndCommentsStateInput, Method.POST)); }
/// <summary> /// Enable or disable inbox replies for a link or comment asynchronously. /// state is a boolean that indicates whether you are enabling or disabling inbox replies - true to enable, false to disable. /// id is the fullname of a thing created by the user. /// </summary> /// <param name="linksAndCommentsStateInput">a valid LinksAndCommentsStateInput instance</param> public async Task SendRepliesAsync(LinksAndCommentsStateInput linksAndCommentsStateInput) { await SendRequestAsync <object>("api/sendreplies", linksAndCommentsStateInput, Method.POST); }
/// <summary> /// Set or unset "contest mode" for a link's comments. /// state is a boolean that indicates whether you are enabling or disabling contest mode - true to enable, false to disable. /// </summary> /// <param name="linksAndCommentsStateInput">a valid LinksAndCommentsStateInput instance</param> /// <returns>A generic response object indicating any errors.</returns> public GenericContainer SetContestMode(LinksAndCommentsStateInput linksAndCommentsStateInput) { return(SendRequest <GenericContainer>("api/set_contest_mode", linksAndCommentsStateInput, Method.POST)); }
/// <summary> /// Enable or disable inbox replies for a link or comment. /// state is a boolean that indicates whether you are enabling or disabling inbox replies - true to enable, false to disable. /// id is the fullname of a thing created by the user. /// </summary> /// <param name="linksAndCommentsStateInput">a valid LinksAndCommentsStateInput instance</param> public void SendReplies(LinksAndCommentsStateInput linksAndCommentsStateInput) { SendRequest <object>("api/sendreplies", linksAndCommentsStateInput, Method.POST); }