lib/slack/web/api/endpoints/files.rb in slack-ruby-client-0.7.3 vs lib/slack/web/api/endpoints/files.rb in slack-ruby-client-0.7.4
- old
+ new
@@ -42,18 +42,18 @@
# Filter files created before this timestamp (inclusive).
# @option options [Object] :types
# Filter files by type:
#
# all - All files
- # posts - Posts
+ # spaces - Posts
# snippets - Snippets
# images - Image files
# gdocs - Google docs
# zips - Zip files
# pdfs - PDF files
#
#
- # You can pass multiple values in the types argument, like types=posts,snippets.The default value is all, which does not filter the list.
+ # You can pass multiple values in the types argument, like types=spaces,snippets.The default value is all, which does not filter the list.
# .
# @see https://api.slack.com/methods/files.list
# @see https://github.com/dblock/slack-api-ref/blob/master/methods/files/files.list.json
def files_list(options = {})
options = options.merge(channel: channels_id(options)['channel']['id']) if options[:channel]