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

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

Link to this type

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

Link to this section Callbacks

Link to this callback

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

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