Slacks v0.0.1 Slack.User View Source

A Slack user.

Link to this section Summary

Types

t()

A Slack user.

Functions

Parse Slack user.

Link to this section Types

Link to this type

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

A Slack user.

Link to this section Functions

Link to this function

parse(data) View Source
parse(map()) ::
  {:ok, t()}
  | {:error, :user_missing_id | :user_missing_name | :invalid_user}

Parse Slack user.