README.md

# ravenx_chat

Ravenx strategy to send Hangouts Chat notifications adapted from [ravenx_slack](https://github.com/acutario/ravenx_slack)

## Installation

The package can be installed as simply as adding `ravenx` and `ravenx_chat` to your list of dependencies in `mix.exs`:

```elixir
  def deps do
    [
      {:ravenx, "~> 2.0"},
      {:ravenx_chat, "~> 0.1"}
    ]
  end
```

## Configuration

To enable this strategy, just specify it in your `ravenx` configuration:

```elixir
config :ravenx,
  strategies: [
    chat: Ravenx.Strategy.Chat
  ]
```

### Available configuration

The module can be configured as mentioned in
[Ravenx's README](https://github.com/acutario/ravenx/blob/master/README.md)
with the following variables:

- **url**: the URL of the webhook you have defined in Chat.

### Payload

Refer to the 
[official documentation](https://developers.google.com/hangouts/chat/reference/message-formats/) for message formats