/// <summary> /// Deletes an existing comment on a file. /// <see href="https://api.slack.com/methods/files.comments.delete" /> /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='token'> /// Authentication token. Requires scope: `files:write:user` /// </param> /// <param name='id'> /// The comment to delete. /// </param> /// <param name='file'> /// File to delete a comment from. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <DeleteOKResponseModel> DeleteAsync(this IFiles operations, string token = default(string), string id = default(string), string file = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.DeleteWithHttpMessagesAsync(token, id, file, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }