Ravenx strategy to send Hangouts Chat notifications adapted from ravenx_slack
The package can be installed as simply as adding ravenx
and ravenx_chat
to your list of dependencies in mix.exs
:
def deps do
[
{:ravenx, "~> 2.0"},
{:ravenx_chat, "~> 0.1"}
]
end
To enable this strategy, just specify it in your ravenx
configuration:
config :ravenx,
strategies: [
chat: Ravenx.Strategy.Chat
]
The module can be configured as mentioned in Ravenx's README with the following variables:
- url: the URL of the webhook you have defined in Chat.
Refer to the official documentation for message formats