ExMicrosoftTeams (ex_microsoft_teams v0.1.0)

Documentation for ExMicrosoftTeams.

Link to this section Summary

Functions

Send a message to a specific channel accordingly the webhook_url

Link to this section Functions

Link to this function

send_message(webhook_url, message)

@spec send_message(String.t(), String.t()) :: {:ok, String.t()} | {:error, String.t()}

Send a message to a specific channel accordingly the webhook_url

examples

Examples

iex> ExMicrosoftTeams.send_message("https://acme.webhook.office.com/webhookb2/abc/IncomingWebhook/123/456", "Hello World!!")
{:ok, "1"}