ex_messagebird v0.1.0-pre-release.6 ExMessagebird.Backend.Messagebird

The default backend that calls the messagebird API

Link to this section Summary

Functions

Makes a POST request to the messagebird API and uses the configured token as means of authentication

Link to this section Functions

Link to this function

post(endpoint, data)

post(String.t(), any()) :: {:ok, map()} | {:error, :invalid_response}

Makes a POST request to the messagebird API and uses the configured token as means of authentication

Link to this function

send_message(options)

Callback implementation for ExMessagebird.Backend.Behaviour.send_message/1.