slack-go-webhook | Go Library to send messages to Slack via Webhooks | REST library
kandi X-RAY | slack-go-webhook Summary
kandi X-RAY | slack-go-webhook Summary
Go Library to send messages to Slack via Webhooks
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of slack-go-webhook
slack-go-webhook Key Features
slack-go-webhook Examples and Code Snippets
Community Discussions
Trending Discussions on slack-go-webhook
QUESTION
I want to send a Slack notification with an attached file. This is my current code:
...ANSWER
Answered 2018-Apr-26 at 12:18You can not attach a file to an attachment through a webhook in Slack. That functionality does not exist in Slack.
If its just text you can add the content as part of the message or another attachments (up to a limit of currently 500,000 characters, which will soon be reduced to 40,000 - see here for reference).
Or you can directly upload a file to a channel with the API method files.upload.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install slack-go-webhook
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page