You're seeing just the function add, go back to SlackWeb.Files.Comments module for more information.
Link to this function

add(comment, file, optional_params \\ %{})

View Source

Add a comment to an existing file.

Required Params

  • comment - Text of the comment to add. ex: Everyone should take a moment to read this file.
  • file - File to add a comment to. ex: F1234567890

Errors the API can return:

  • file_deleted - The requested file was previously deleted.
  • file_not_found - The requested file could not be found.
  • no_comment - The comment field was empty.