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.
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.
client <- client_slack("my_webhook") # Variant with default parameters set client2 <- client_slack("my_webhook", message = "Default message template")