Slack.Handler behaviour

A behavior for the Slack real time messaging API via websockets.

Source

Callbacks

handle_message/3

Specs:

  • handle_message({:type, binary, %{}}, :"Elixir.websocket_req.Req", any) :: {:ok, any}
Source
init/2

Specs:

  • init(any, :"Elixir.websocket_req.Req") :: {:ok, any}
Source