MIT licensed and maintained by Juan Pedro Villa Isaza

Module documentation for 0.2.0.11

This version can be pinned in stack with:slack-web-0.2.0.11@sha256:c42cb6654cbde5761234dca7dbf6ad6784dfdafb556d2b4400f8c3602c03b791,2103

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
comments powered byDisqus