SimplerSlack v0.0.5 SimplerSlack.Web

Handles web calls to slacks API.

only supports the chat.postMessage endpoint.

Can be used as send_message("the message", "channel_id", "token")

Summary

Functions

sends the provided text to the provided channel

Types

error()
error :: {:error, any}
success()
success :: {:ok, any}

Functions

send_message(text, channel_id, token)
send_message(String.t, String.t, String.t) ::
  success |
  error

sends the provided text to the provided channel

send_message("send this text", "channel_id", "token")