SlackWeb.Groups.archive
You're seeing just the function
archive
, go back to SlackWeb.Groups module for more information.
Archives a private channel.
Required Params
channel
- Private channel to archive
Errors the API can return:
already_archived
- Group has already been archived.channel_not_found
- Value passed forchannel
was invalid.group_contains_others
- Restricted accounts cannot archive groups containing others.last_ra_channel
- You cannot archive the last channel for a restricted account.restricted_action
- A team preference prevents the authenticated user from archiving.