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

shared_public_url(file, optional_params \\ %{})

View Source

Enables a file for public/external sharing.

Required Params

  • file - File to share

Errors the API can return:

  • file_not_found - Value passed for file was invalid
  • not_allowed - Public sharing has been disabled for this team