Slack v0.0.13 Slack.File.Comment

Functions for working with comments on files

Summary

Functions

Add a comment to an existing file

Delete a comment on a file

Edit a comment on a file

Functions

add(client, body \\ [])

Add a comment to an existing file.

https://api.slack.com/methods/files.comments.add

Examples

Slack.client(token)
|> Slack.File.Comment.add(file: "F1234467890", comment: "Foo")
delete(client, body \\ [])

Delete a comment on a file.

https://api.slack.com/methods/files.comments.delete

Examples

Slack.client(token)
|> Slack.File.Comment.delete(file: "F1234467890", id: "Fc1234567890")
edit(client, body \\ [])

Edit a comment on a file.

https://api.slack.com/methods/files.comments.edit

Examples

Slack.client(token)
|> Slack.File.Comment.edit(
     file: "F1234467890", id: "Fc1234567890", comment: "Hello")