module Slack::Web::Api::Endpoints::Search

def search_all(options = {})

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

Options Hash: (**options)
  • :sort_dir (Object) --
  • :sort (Object) --
  • :highlight (Object) --
  • :query (Object) --
def search_all(options = {})
  throw ArgumentError.new('Required arguments :query missing') if options[:query].nil?
  post('search.all', options)
end

def search_files(options = {})

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

Options Hash: (**options)
  • :sort_dir (Object) --
  • :sort (Object) --
  • :highlight (Object) --
  • :query (Object) --
def search_files(options = {})
  throw ArgumentError.new('Required arguments :query missing') if options[:query].nil?
  post('search.files', options)
end

def search_messages(options = {})

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

Options Hash: (**options)
  • :sort_dir (Object) --
  • :sort (Object) --
  • :highlight (Object) --
  • :query (Object) --
def search_messages(options = {})
  throw ArgumentError.new('Required arguments :query missing') if options[:query].nil?
  post('search.messages', options)
end