Slack.Bot.start_link

You're seeing just the function start_link, go back to Slack.Bot module for more information.
Link to this function

start_link(bot_handler, initial_state, token, options \\ %{})

View Source

Connects to Slack and delegates events to bot_handler.

Options

  • keepalive - How long to wait for the connection to respond before the client kills the connection.
  • name - registers a name for the process with the given atom

Examples

{:ok, pid} = Slack.Bot.start_link(MyBot, [1,2,3], "abc-123", %{name: :slack_bot})

:sys.get_state(:slack_bot)