View Source Notifiex.Service.Slack (Notifiex v1.2.0)

Slack service for Notifiex.

Link to this section Summary

Functions

Sends a message to the specified channel.

Link to this section Functions

@spec call(map(), map()) :: {:ok, binary()} | {:error, {atom(), any()}}

Sends a message to the specified channel.

payload should include the following:

  • text: The message text. (required)
  • channel: The channel to send the message to. (required)

options should include the following:

  • token: Authentication token. (required)