/// <summary> /// Post an update to the thread asynchronously. /// Requires the update permission for this thread. /// See also: /api/live/thread/strike_update, and /api/live/thread/delete_update. /// </summary> /// <param name="thread">id</param> /// <param name="liveThreadsBodyInput">A valid LiveThreadsBodyInput instance</param> /// <returns>A generic response object indicating any errors.</returns> public async Task <GenericContainer> UpdateAsync(string thread, LiveThreadsBodyInput liveThreadsBodyInput) { return(await SendRequestAsync <GenericContainer>("api/live/" + thread + "/update", liveThreadsBodyInput, Method.POST)); }
/// <summary> /// Post an update to the thread. /// Requires the update permission for this thread. /// See also: /api/live/thread/strike_update, and /api/live/thread/delete_update. /// </summary> /// <param name="thread">id</param> /// <param name="liveThreadsBodyInput">A valid LiveThreadsBodyInput instance</param> /// <returns>A generic response object indicating any errors.</returns> public GenericContainer Update(string thread, LiveThreadsBodyInput liveThreadsBodyInput) { return(SendRequest <GenericContainer>("api/live/" + thread + "/update", liveThreadsBodyInput, Method.POST)); }