MIT licensed and maintained by Juan Pedro Villa Isaza
This version can be pinned in stack with:slack-web-0.2.0.9@sha256:d65235dd425e12092028c7b9ef88ec53bf700a09850dc0f08725246721ea4644,2102

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