{
  "args": {
    "channel": {
      "desc": "Channel to archive",
      "required": true,
      "type": "channel"
    }
  },
  "desc": "Archives a channel.",
  "errors": {
    "already_archived": "Channel has already been archived.",
    "cant_archive_general": "You cannot archive the general channel",
    "channel_not_found": "Value passed for `channel` was invalid.",
    "last_ra_channel": "You cannot archive the last channel for a restricted account",
    "restricted_action": "A team preference prevents the authenticated user from archiving."
  }
}
