Packages

A Slack Web & Real Time Messaging API client.

Current section

Files

Jump to
slack_kit priv docs methods files.remote.list.json
Raw

priv/docs/methods/files.remote.list.json

{
"args": {
"channel": {
"desc": "Filter files appearing in a specific channel, indicated by its ID.",
"required": false,
"type": "string"
},
"cursor": {
"desc": "Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first \"page\" of the collection. See pagination for more detail.",
"example": "dXNlcjpVMDYxTkZUVDI=",
"required": false,
"type": "string"
},
"limit": {
"desc": "The maximum number of items to return.",
"example": "20",
"required": false,
"type": "integer"
},
"ts_from": {
"default": "0",
"desc": "Filter files created after this timestamp (inclusive).",
"example": "123456789",
"required": false,
"type": "string"
},
"ts_to": {
"default": "now",
"desc": "Filter files created before this timestamp (inclusive).",
"example": "123456789",
"required": false,
"type": "string"
}
},
"desc": "Retrieve information about a remote file added to Slack",
"errors": {
"invalid_cursor": "Value passed for `cursor` was not valid or is no longer valid.",
"no_bot_user_for_app": "Cannot call the Remote Files endpoints unless app has associated bot user"
},
"rate_limit": {
"label": "Tier 2: 20+ per minute",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {
"bot": [
{
"name": "remote_files:read",
"url": "https://docs.slack.dev/reference/scopes/remote_files.read"
}
],
"user": [
{
"name": "remote_files:read",
"url": "https://docs.slack.dev/reference/scopes/remote_files.read"
}
]
}
}