module Slack::Web::Api::Endpoints::Stars

def stars_add(options = {})

Other tags:
    See: https://github.com/dblock/slack-api-ref/blob/master/methods/stars/stars.add.json -
    See: https://api.slack.com/methods/stars.add -

Options Hash: (**options)
  • :timestamp (Object) --
  • :channel (channel) --
  • :file_comment (Object) --
  • :file (file) --
def stars_add(options = {})
  options = options.merge(channel: channels_id(options)['channel']['id']) if options[:channel]
  post('stars.add', options)
end

def stars_list(options = {})

Other tags:
    See: https://github.com/dblock/slack-api-ref/blob/master/methods/stars/stars.list.json -
    See: https://api.slack.com/methods/stars.list -

Options Hash: (**options)
  • :user (user) --
def stars_list(options = {})
  options = options.merge(user: users_id(options)['user']['id']) if options[:user]
  post('stars.list', options)
end

def stars_remove(options = {})

Other tags:
    See: https://github.com/dblock/slack-api-ref/blob/master/methods/stars/stars.remove.json -
    See: https://api.slack.com/methods/stars.remove -

Options Hash: (**options)
  • :timestamp (Object) --
  • :channel (channel) --
  • :file_comment (Object) --
  • :file (file) --
def stars_remove(options = {})
  options = options.merge(channel: channels_id(options)['channel']['id']) if options[:channel]
  post('stars.remove', options)
end