SlackWeb.Files.list
You're seeing just the function
list
, go back to SlackWeb.Files module for more information.
Lists & filters team files.
Optional Params
channel
- Filter files appearing in a specific channel, indicated by its ID.ts_from
- Filter files created after this timestamp (inclusive). ex:123456789
ts_to
- Filter files created before this timestamp (inclusive). ex:123456789
types
- Filter files by type:all
- All filesposts
- Postssnippets
- Snippetsimages
- Image filesgdocs
- Google docszips
- Zip filespdfs
- 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. ex: images
user
- Filter files created by a single user.
Errors the API can return:
unknown_type
- Value passed fortypes
was invaliduser_not_found
- Value passed foruser
was invalid