slack_web_api v1.2.1 SlackWebAPI.Api.TeamProfile

API calls for all endpoints tagged TeamProfile.

Link to this section Summary

Link to this section Functions

Link to this function

team_profile_get(connection, opts \\ [])

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

Retrieve a team's profile.

Parameters

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

    • :token (String.t): Authentication token. Requires scope: users.profile:read
    • :visibility (String.t): Filter by visibility.

Returns

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