Created
April 27, 2020 00:18
-
-
Save ismaelc/512523d61bc5209c6bc08852e813afc7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var postMessage = async function(params) { | |
var response = await fetch('https://slack.com/api/chat.postMessage', { | |
method: 'POST', | |
body: params | |
}) | |
var data = await response.json() | |
return data | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment