slack-web

Bindings for the Slack web API https://github.com/jpvillaisaza/slack-web

Latest on Hackage:0.2.0.11

See all snapshots slack-web appears in

MIT licensed and maintained by Juan Pedro Villa Isaza

Module documentation for 0.2.0.7

This version can be pinned in stack with:[email protected]:ef1f6319ee02d5a759c9d9b66c00034780be5294508fc12f4b1eee0654bd25a0,2068

Haskell bindings for the Slack web API

Example

> import qualified Web.Slack as Slack
> import qualified Web.Slack.Api as Api
> import Control.Monad.Reader
> :set -XOverloadedStrings
> slackConfig <- Slack.mkSlackConfig token
> flip runReaderT slackConfig (Slack.apiTest Api.mkTestReq)
Right ...
> flip runReaderT slackConfig (Slack.apiTest Api.mkTestReq { Api.testReqFoo = Just "bar" })
Right ...

License

Licensed under the MIT license. See LICENSE.md.

Changes

0.1.0

Methods

New

  • api.test
  • auth.test
  • channels.create
  • chat.postMessage