slack_web_api v1.2.1 SlackWebAPI.Api.FilesComments
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 \\ [])
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.
- :token (String.t): Authentication token. Requires scope:
Returns
{:ok, %{}} on success {:error, info} on failure