You're seeing just the function archive, go back to SlackWeb.Groups module for more information.
Link to this function

archive(channel, optional_params \\ %{})

View Source

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 for channel 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.