SlackWeb.Files.Comments.edit

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

edit(comment, file, id, optional_params \\ %{})

View Source

Edit an existing file comment.

Required Params

  • comment - Text of the comment to edit. ex: Everyone should take a moment to read this file, seriously.
  • file - File containing the comment to edit. ex: F1234567890
  • id - The comment to edit. ex: Fc1234567890

Errors the API can return:

  • cant_edit - The requested file could not be found.
  • edit_window_closed - The timeframe for editing the comment has expired.
  • 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.