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

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