MIT licensed and maintained by Juan Pedro Villa Isaza
This version can be pinned in stack with:slack-web-0.2.0.7@sha256: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