SlackWeb.Channels.archive
You're seeing just the function
archive, go back to SlackWeb.Channels module for more information.
Archives a channel.
Required Params
channel- Channel to archive
Errors the API can return:
already_archived- Channel has already been archived.cant_archive_general- You cannot archive the general channelchannel_not_found- Value passed forchannelwas invalid.last_ra_channel- You cannot archive the last channel for a restricted accountrestricted_action- A team preference prevents the authenticated user from archiving.