Slack v0.23.5 Slack.Web.Client behaviour 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
Link to this type
body()
View Source
body()
View Source
body() :: form_body() | multipart_form_body()
body() :: form_body() | multipart_form_body()
Link to this type
form_body()
View Source
form_body()
View Source
form_body() :: {:form, Keyword.t()}
form_body() :: {:form, Keyword.t()}
Link to this type
multipart_form_body()
View Source
multipart_form_body()
View Source
multipart_form_body() :: {:multipart, [tuple(), ...]}
multipart_form_body() :: {:multipart, [tuple(), ...]}
Link to this type
url()
View Source
url()
View Source
url() :: String.t()
url() :: String.t()
Link to this section Callbacks
Link to this callback
post!(url, body) View Source
Return value is passed directly to caller of generated Web API module/functions. Can be any term.