Packages

An Elixir Slack client and bot.

Current section

Files

Jump to
slacks lib slack bot conn.ex
Raw

lib/slack/bot/conn.ex

defmodule Slack.Bot.Conn do
@moduledoc ~S"""
Slack bot connection
"""
@typedoc @moduledoc
@type t :: %__MODULE__{
token: String.t(),
self: Slack.User.t(),
client: module,
client_state: any
}
@enforce_keys [
:token,
:self,
:client,
:client_state
]
defstruct @enforce_keys
end