# Generic JS chat client

This is a library to interact with the Multichat platform. Its only dependencies are `lodash` and [`unfetch`](https://github.com/developit/unfetch).

## Structure

The main elements the lib consists of are: 

- `entities`: Basically wrapper classes of resources (the BaseResource class) that the Multichat API knows of. When using the lib, these are the 'entities' you'll use and interact with.
- `helpers`: Some relatively basic classes that assist with things like reconnections, API cursoring (pagination) and HTTP status codes.
- `resources`: The bases for the actual API resources.

### Entities

#### `Chat`

TODO: describe

#### `Client`

TODO: describe

#### `Message`

TODO: describe