Exemple #1
0
 /// <summary>
 /// Strike (mark incorrect and cross out) the content of an update asynchronously.
 /// Requires that specified update must have been authored by the user or that you have the edit permission for this thread.
 /// See also: /api/live/thread/update.
 /// </summary>
 /// <param name="thread">id</param>
 /// <param name="liveThreadsIdInput">A valid LiveThreadsIdInput instance</param>
 /// <returns>A generic response object indicating any errors.</returns>
 public async Task <GenericContainer> StrikeUpdateAsync(string thread, LiveThreadsIdInput liveThreadsIdInput)
 {
     return(await SendRequestAsync <GenericContainer>("api/live/" + thread + "/strike_update", liveThreadsIdInput, Method.POST));
 }
Exemple #2
0
 /// <summary>
 /// Revoke an outstanding contributor invite asynchronously.
 /// Requires the manage permission for this thread.
 /// See also: /api/live/thread/invite_contributor.
 /// </summary>
 /// <param name="thread">id</param>
 /// <param name="liveThreadsIdInput">A valid LiveThreadsIdInput instance</param>
 /// <returns>A generic response object indicating any errors.</returns>
 public async Task <GenericContainer> RemoveContributorInviteAsync(string thread, LiveThreadsIdInput liveThreadsIdInput)
 {
     return(await SendRequestAsync <GenericContainer>("api/live/" + thread + "/rm_contributor_invite", liveThreadsIdInput, Method.POST));
 }
Exemple #3
0
 /// <summary>
 /// Strike (mark incorrect and cross out) the content of an update.
 /// Requires that specified update must have been authored by the user or that you have the edit permission for this thread.
 /// See also: /api/live/thread/update.
 /// </summary>
 /// <param name="thread">id</param>
 /// <param name="liveThreadsIdInput">A valid LiveThreadsIdInput instance</param>
 /// <returns>A generic response object indicating any errors.</returns>
 public GenericContainer StrikeUpdate(string thread, LiveThreadsIdInput liveThreadsIdInput)
 {
     return(SendRequest <GenericContainer>("api/live/" + thread + "/strike_update", liveThreadsIdInput, Method.POST));
 }
Exemple #4
0
 /// <summary>
 /// Revoke an outstanding contributor invite.
 /// Requires the manage permission for this thread.
 /// See also: /api/live/thread/invite_contributor.
 /// </summary>
 /// <param name="thread">id</param>
 /// <param name="liveThreadsIdInput">A valid LiveThreadsIdInput instance</param>
 /// <returns>A generic response object indicating any errors.</returns>
 public GenericContainer RemoveContributorInvite(string thread, LiveThreadsIdInput liveThreadsIdInput)
 {
     return(SendRequest <GenericContainer>("api/live/" + thread + "/rm_contributor_invite", liveThreadsIdInput, Method.POST));
 }