Current section
Files
Jump to
Current section
Files
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