module Slack::Web::Api::Endpoints::Files
def files_list(options = {})
- See: https://github.com/dblock/slack-api-ref/blob/master/methods/files/files.list.json -
See: https://api.slack.com/methods/files.list -
Options Hash:
(**options)-
:types(Object) -- -
:ts_to(Object) -- -
:ts_from(Object) -- -
:channel(channel) -- -
:user(user) --
def files_list(options = {}) options = options.merge(channel: channels_id(options)['channel']['id']) if options[:channel] options = options.merge(user: users_id(options)['user']['id']) if options[:user] post('files.list', options) end