Slack v0.0.12 Slack.Reaction
Functions for working with reactions to messages
Summary
Functions
Add a reaction to an item
Get reactions for an iteam
List items reacted to by the user
Remove a reaction from an item
Functions
Specs
add(Slack.Client.t, Keyword.t) :: Slack.response
Add a reaction to an item.
https://api.slack.com/methods/reactions.add
Examples
Slack.Reaction.add(client,
name: "thumbsup",
timestamp: 1234567890.123456,
channel: "C1234567890")
Specs
get(Slack.Client.t, Keyword.t) :: Slack.response
Get reactions for an iteam.
https://api.slack.com/methods/reactions.get
Examples
Slack.Reaction.get(client,
name: "thumbsup",
timestamp: 1234567890.123456,
channel: "C1234567890")
Specs
list(Slack.Client.t, Keyword.t) :: Slack.response
List items reacted to by the user.
https://api.slack.com/methods/reactions.list
Examples
Slack.Reaction.list(client)
Specs
remove(Slack.Client.t, Keyword.t) :: Slack.response
Remove a reaction from an item.
https://api.slack.com/methods/reactions.remove
Examples
Slack.Reaction.remove(client,
name: "thumbsup",
timestamp: 1234567890.123456,
channel: "C1234567890")