command
Version:
v0.0.0-...-82c4727
Opens a new window with list of versions in this module.
Published: Nov 14, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Slack Bots
Codes and snippets for building slack bots
Channel Message
To send a message to a channel, create your json pay load and send
SLACKFILE=""
SLACKWEBHOOK=""
curl -X POST -H 'Content-type: application/json' --data-binary "@${SLACKFILE}" ${SLACKWEBHOOK}
This code snippet responds to message button above. Download ngrok and run in a separate terminal
ngrok http 8080
Then start slack bot
go run slack-button.go
Reference Links
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.