Slacks v0.0.1 Slack.Team View Source

A Slack team.

Link to this section Summary

Types

t()

A Slack team.

Functions

Parse Slack team.

Link to this section Types

Link to this type

t() View Source
t() :: %Slack.Team{domain: String.t(), id: String.t(), name: String.t()}

A Slack team.

Link to this section Functions

Link to this function

parse(data) View Source
parse(map()) ::
  {:ok, t()}
  | {:error,
     :team_missing_id
     | :team_missing_name
     | :team_missing_domain
     | :invalid_team}

Parse Slack team.