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