module Slack::Web::Api::Endpoints::Stars
def stars_add(options = {})
- See: https://github.com/slack-ruby/slack-api-ref/blob/master/methods/stars/stars.add.json -
See: https://api.slack.com/methods/stars.add -
Options Hash:
(**options)
-
:timestamp
(string
) -- -
:file_comment
(string
) -- -
:file
(file
) -- -
:channel
(channel
) --
def stars_add(options = {}) options = options.merge(channel: conversations_id(options)['channel']['id']) if options[:channel] post('stars.add', options) end