# SlackDirectoryLoader

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/document_loaders/slack_directory/SlackDirectoryLoader)

Load from a `Slack` directory dump.

## Signature

```python
SlackDirectoryLoader(
    self,
    zip_path: Union[str, Path],
    workspace_url: Optional[str] = None,
)
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `zip_path` | `str` | Yes | The path to the Slack directory dump zip file. |
| `workspace_url` | `Optional[str]` | No | The Slack workspace URL. Including the URL will turn sources into links. Defaults to None. (default: `None`) |

## Extends

- `BaseLoader`

## Constructors

```python
__init__(
    self,
    zip_path: Union[str, Path],
    workspace_url: Optional[str] = None,
)
```

| Name | Type |
|------|------|
| `zip_path` | `Union[str, Path]` |
| `workspace_url` | `Optional[str]` |


## Properties

- `zip_path`
- `workspace_url`
- `channel_id_map`

## Methods

- [`lazy_load()`](https://reference.langchain.com/python/langchain-community/document_loaders/slack_directory/SlackDirectoryLoader/lazy_load)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/document_loaders/slack_directory.py#L11)