Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/ashwanthkumar/fsharp-slack-webhooks
- Owner: ashwanthkumar
- Created: 2018-12-26T11:09:55.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-27T04:09:32.000Z (about 6 years ago)
- Last Synced: 2024-11-07T06:45:58.719Z (about 2 months ago)
- Topics: slack, slack-webhook, slackapi
- Language: F#
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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-webhooksF# 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