slack_web_api v1.2.1 SlackWebAPI.Api.AppsPermissionsScopes

API calls for all endpoints tagged AppsPermissionsScopes.

Link to this section Summary

Functions

Returns list of scopes this app has on a team.

Link to this section Functions

Link to this function

apps_permissions_scopes_list(connection, opts \\ [])

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

Returns list of scopes this app has on a team.

Parameters

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

    • :token (String.t): Authentication token. Requires scope: none

Returns

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