slack_web_api v1.2.1 SlackWebAPI.Api.Api

API calls for all endpoints tagged Api.

Link to this section Summary

Functions

Checks API calling code.

Link to this section Functions

Link to this function

api_test(connection, opts \\ [])

api_test(Tesla.Env.client(), keyword()) ::
  {:ok, map()} | {:error, Tesla.Env.t()}

Checks API calling code.

Parameters

  • connection (SlackWebAPI.Connection): Connection to server
  • opts (KeywordList): [optional] Optional parameters

    • :foo (String.t): example property to return
    • :error (String.t): Error response to return

Returns

{:ok, %{}} on success {:error, info} on failure