module Slack::Web::Api::Endpoints::Search
def search_all(options = {})
- See: https://github.com/slackhq/slack-api-docs/blob/master/methods/search.all.json -
See: https://github.com/slackhq/slack-api-docs/blob/master/methods/search.all.md -
See: https://api.slack.com/methods/search.all -
Options Hash:
(**options)-
:highlight(Object) -- -
:sort_dir(Object) -- -
:sort(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 = {})
- See: https://github.com/slackhq/slack-api-docs/blob/master/methods/search.files.json -
See: https://github.com/slackhq/slack-api-docs/blob/master/methods/search.files.md -
See: https://api.slack.com/methods/search.files -
Options Hash:
(**options)-
:highlight(Object) -- -
:sort_dir(Object) -- -
:sort(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 = {})
- See: https://github.com/slackhq/slack-api-docs/blob/master/methods/search.messages.json -
See: https://github.com/slackhq/slack-api-docs/blob/master/methods/search.messages.md -
See: https://api.slack.com/methods/search.messages -
Options Hash:
(**options)-
:highlight(Object) -- -
:sort_dir(Object) -- -
:sort(Object) -- -
:query(Object) --
def search_messages(options = {}) throw ArgumentError.new('Required arguments :query missing') if options[:query].nil? post('search.messages', options) end