Description Usage Arguments Details See Also Examples
Client extending the client_sendeR
for the Slack
service. In addition to any fields in the client_sendeR
this one
contains slack_webhook
which is needed to send a message via the Slack
Webhook API. For additional information on how to create a webhook see details.
1 | client_slack(slack_webhook, ...)
|
slack_webhook |
a webhook obtained from the Slack API settings. |
... |
named arguments with additional fields which will be passed to
|
To create your own webhook head to https://api.slack.com/messaging/webhooks. Note: Webhooks are permanently connected to one channel.
1 2 3 4 | client <- client_slack("my_webhook")
# Variant with default parameters set
client2 <- client_slack("my_webhook", message = "Default message template")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.