| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.Slack.Notifier
Description
This module sends notification to slack.
{-# LANGUAGE OverloadedStrings #-}
import Network.Slack.Notifier
main = do
let config = defaultConfig { webhookurl = "https://hooks.slack.com/services/your/slack/webhookurl"
, channel = Just "#general"
, username = Just "haskell"
}
notify config "Hello, World"
return ()Documentation
Configuration of notifying slack