Slack v0.9.2 Slack.State

Summary

Functions

See Map.fetch/2

See Map.get_and_update/3

Pattern matches against messages and returns updated Slack state

Functions

fetch(client, key)

See Map.fetch/2.

get_and_update(client, key, function)

See Map.get_and_update/3.

update(map, slack)

Specs

update(Map, Map) :: {Symbol, Map}

Pattern matches against messages and returns updated Slack state.