ravenx v0.1.0 Ravenx.Strategy.Slack
Ravenx Slack strategy.
Used to dispatch notifications to Slack service.
Summary
Functions
Function used to send a notification to Slack
Functions
Function used to send a notification to Slack.
The function receives a map including a title
and a body
, and an
options
Mmp that can include this configuration:
url
: URL of Slack integration to call.username
: Username of the bot used to send the notification.icon
: Icon to show as the bot avatar (with Slack format, like:bird:
)channel
: Channel or username to send the notification.
It will respond with a tuple, indicating if everything was :ok
or there was
an :error
.