Given inputs, uses httr::POST to post a message to Slack.
1 2 |
url |
The |
channel |
The channel to post the message to (character string). |
text |
The text that should be posted (character string). |
private |
Whether this message should be posted privately to the user
( |
username |
The username to post in response to (character string). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.