Slack v0.2.1 Slack.Reaction View Source

Functions for working with reactions to messages 👍

Link to this section 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.

Link to this section Functions

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 reactions for an iteam.

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

Examples

Slack.Reaction.get(client,
                   name: "thumbsup",
                   timestamp: 1234567890.123456,
                   channel: "C1234567890")

List items reacted to by the user.

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

Examples

Slack.Reaction.list(client)

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