module Slack::Web::Api::Endpoints::Reactions

def reactions_add(options = {})

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

Options Hash: (**options)
  • :timestamp (Object) --
  • :file_comment (Object) --
  • :file (file) --
  • :channel (channel) --
  • :name (Object) --
def reactions_add(options = {})
  throw ArgumentError.new('Required arguments :name missing') if options[:name].nil?
  options = options.merge(channel: channels_id(options)['channel']['id']) if options[:channel]
  post('reactions.add', options)
end

def reactions_get(options = {})

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

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

def reactions_list(options = {})

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

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

def reactions_remove(options = {})

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

Options Hash: (**options)
  • :timestamp (Object) --
  • :file_comment (Object) --
  • :file (file) --
  • :channel (channel) --
  • :name (Object) --
def reactions_remove(options = {})
  throw ArgumentError.new('Required arguments :name missing') if options[:name].nil?
  options = options.merge(channel: channels_id(options)['channel']['id']) if options[:channel]
  post('reactions.remove', options)
end