ravenx_chat v0.1.0 Ravenx.Strategy.Chat View Source

Ravenx Hangouts Chat strategy.

Used to dispatch notifications to Hangouts Chat service.

Link to this section Summary

Functions

Function used to send a notification to Hangouts Chat

Link to this section Functions

Link to this function call(payload, options \\ %{}) View Source
call(map(), map()) :: {:ok, binary()} | {:error, {atom(), any()}}

Function used to send a notification to Hangouts Chat.

The function receives a map including a text used to build the message, and an options Map that can include this configuration:

  • url: URL of Hangouts Chat webhook.

It will respond with a tuple, indicating if everything was :ok or there was an :error.