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.9

This version can be pinned in stack with:[email protected]: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