Slack
A client for the Slack API.
Usage
Most of the API methods work by first creating a Slack client
(Slack.client(token)
) and then passing it in to an API call. Note that a
Slack.Client
is only a convenience wrapper for a map with a :token
key.
token
|> Slack.client
|> Slack.Channel.create(name: "mynewchannel")
Installation
If available in Hex, the package can be installed as:
Add
slack
to your list of dependencies inmix.exs
:def deps do [{:slack, "~> 0.0.8"}] end ```
Todo
- [x] [`Slack.API`](Slack.API.html)
- [x] [`Slack.Auth`](Slack.Auth.html)
- [x] [`Slack.Bot`](Slack.Bot.html)
- [x] [`Slack.Channel`](Slack.Channel.html)
- [x] [`Slack.Chat`](Slack.Chat.html)
- [x] [`Slack.DND`](Slack.DND.html)
- [x] [`Slack.Emoji`](Slack.Emoji.html)
- [x] [`Slack.File.Comment`](Slack.File.Comment.html)
- [x] [`Slack.File`](Slack.File.html)
- [x] [`Slack.Group`](Slack.Group.html)
- [x] [`Slack.IM`](Slack.IM.html)
- [x] [`Slack.MPIM`](Slack.MPIM.html)
- [x] [`Slack.OAuth`](Slack.OAuth.html)
- [x] [`Slack.Pin`](Slack.Pin.html)
- [ ]
Slack.Reaction
- [ ]
Slack.Reminder
- [ ]
Slack.RTM
- [ ]
Slack.Search
- [ ]
Slack.Star
- [ ]
Slack.Team
- [ ]
Slack.Team.Profile
- [ ]
Slack.UserGroup