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

add(client, body \\ [])

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")
get(client, query \\ [])

Get reactions for an iteam.

https://api.slack.com/methods/reactions.get

Examples

Slack.Reaction.get(client,
                   name: "thumbsup",
                   timestamp: 1234567890.123456,
                   channel: "C1234567890")
list(client, query \\ [])

List items reacted to by the user.

https://api.slack.com/methods/reactions.list

Examples

Slack.Reaction.list(client)
remove(client, body \\ [])

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")