View Source Notifiex (Notifiex v1.0.0)

The main module for Notifiex.

Link to this section Summary

Functions

Returns a Keyword list of providers.

send helps in sending a notification through the specified provider.

Callback implementation for Application.start/2.

Link to this section Types

@type config() :: {provider(), payload(), options()}
@type id() :: atom()
@type options() :: atom()
@type payload() :: atom()
@type provider() :: atom()
@type result() :: atom()
@type send_type() :: :sync

Link to this section Functions

@spec providers() :: keyword()

Returns a Keyword list of providers.

Link to this function

send(provider, payload, options)

View Source
@spec send(provider(), payload(), options()) :: result()

send helps in sending a notification through the specified provider.

Example:

> Notifiex.send(:slack, %{text: "Notifiex is cool! 🚀", channel: "general"},  %{token: "SECRET"})
Link to this function

start(start_type, start_args)

View Source

Callback implementation for Application.start/2.