SlackWeb.Client behaviour (SlackWeb v0.1.1) View Source

Defines a custom client for making calls to Slack Web API.

Link to this section Summary

Callbacks

Return value is passed directly to caller of generated Web API module/functions. Can be any term.

Link to this section Types

Specs

body() :: form_body() | multipart_form_body()

Specs

form_body() :: {:form, Keyword.t()}

Specs

multipart_form_body() :: {:multipart, [tuple(), ...]}

Specs

url() :: String.t()

Link to this section Callbacks

Specs

post!(url :: url(), body :: body()) :: term()

Return value is passed directly to caller of generated Web API module/functions. Can be any term.