Slack v0.2.1 Slack.Star View Source

Functions for working with starred items

Link to this section Summary

Functions

Add a star to an item.

Lists items starred by the user.

Remove a star from an item. Star messages and files.

Link to this section Functions

Add a star to an item.

https://api.slack.com/methods/stars.add

Examples

Slack.Star.add(client, channel: "C1234567890")

Lists items starred by the user.

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

Examples

Slack.Star.list(client)

Remove a star from an item. Star messages and files.

https://api.slack.com/methods/stars.remove

Examples

Slack.Star.remove(client, channel: "C1234567890")