Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ashwanthkumar/fsharp-slack-webhooks

F# library to send messages to Slack via Incoming webhooks.
https://github.com/ashwanthkumar/fsharp-slack-webhooks

slack slack-webhook slackapi

Last synced: 7 days ago
JSON representation

F# library to send messages to Slack via Incoming webhooks.

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/ashwanthkumar/fsharp-slack-webhooks.svg?branch=master)](https://travis-ci.org/ashwanthkumar/fsharp-slack-webhooks)
# fsharp-slack-webhooks

F# library to send messages to Slack via Incoming webhooks.

## Usage
```fsharp
open SlackWebhooks.Client
[]
let main args =
let payload = new Payload(text="Hello from F#",username="fsharp-bot",channel="#general")
let response = Send "https://hooks.slack.com/services/foo/bar/baz" payload
printfn "Response : %A" response
// Return 0. This indicates success.
0
```

## License
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0