SlackWebAPI v1.2.0 SlackWebAPI.Api.FilesComments View Source

API calls for all endpoints tagged FilesComments.

Link to this section Summary

Functions

Deletes an existing comment on a file.

Link to this section Functions

Link to this function

files_comments_delete(connection, opts \\ [])

View Source
files_comments_delete(Tesla.Env.client(), keyword()) ::
  {:ok, map()} | {:error, Tesla.Env.t()}

Deletes an existing comment on a file.

Parameters

  • connection (SlackWebAPI.Connection): Connection to server
  • opts (KeywordList): [optional] Optional parameters

    • :token (String.t): Authentication token. Requires scope: files:write:user
    • :id (String.t): The comment to delete.
    • :file (String.t): File to delete a comment from.

Returns

{:ok, %{}} on success {:error, info} on failure