Description Usage Arguments Value References
Posts a message to Slack using Incoming Webhooks
1 2 | PostToSlack(channelName, messageToPost, botName = NULL,
webhookURL = Sys.getenv("SLACK_WEBHOOK"))
|
channelName |
A string of the form |
messageToPost |
A string of the message to post. |
botName |
A string of the name of the bot that posts. Default is NULL, which means to use the default bot name that was set up with the Incoming Webhook. See References. |
webhookURL |
A string of the Slack webhook URL of the form
|
Result of the POST
call.
Slack documentation on setting up an Incoming Webhook
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.