SLACK.CHANNEL.LIST
This is a premium feature.
Lists all channels within a Slack workspace. This functions takes an optional JSON parameter to define more advanced settings and additional options. Please refer to https://api.slack.com/methods/conversations.list for more information about available and supported options (as of 2021-05-17).
Syntax
=SLACK.CHANNEL.LIST(Token, [ResponseTarget], [OptionsJSON])
Arguments
Name | Description |
---|---|
Token | A token which is registered to a workspace and has required access rights |
ResponseTarget (optional) | Specify inbox, outbox, cell or cell-range to write any response to |
OptionsJSON (optional) | A JSON which contains additional options |
Return
A unique random request ID which can be used with REQUESTINFO to check the state of the request. In case of an error the corresponding error-code is returned.
Examples
A | B | |
---|---|---|
1 | limit | 10 |
Formula | Result | Comment |
---|---|---|
| Requests all available channels and sends server response to inbox | |
| Same as before but limits channels in response |