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
Link to this function
add(client, body \\ [])
View Sourceadd(Slack.Client.t(), Keyword.t()) :: Slack.slack_response()
Add a star to an item.
https://api.slack.com/methods/stars.add
Examples
Slack.Star.add(client, channel: "C1234567890")
Link to this function
list(client, query \\ [])
View Sourcelist(Slack.Client.t(), Keyword.t()) :: Slack.slack_response()
Lists items starred by the user.
https://api.slack.com/methods/stars.list
Examples
Slack.Star.list(client)
Link to this function
remove(client, body \\ [])
View Sourceremove(Slack.Client.t(), Keyword.t()) :: Slack.slack_response()
Remove a star from an item. Star messages and files.
https://api.slack.com/methods/stars.remove
Examples
Slack.Star.remove(client, channel: "C1234567890")