Slack.Web.Files.delete

You're seeing just the function delete, go back to Slack.Web.Files module for more information.
Link to this function

delete(file, optional_params \\ %{})

View Source

Deletes a file.

Required Params

  • file - ID of file to delete.

Errors the API can return:

  • cant_delete_file - Authenticated user does not have permission to delete this file.
  • file_deleted - The file has already been deleted.
  • file_not_found - The file does not exist, or is not visible to the calling user.