Description Usage Arguments Value Author(s) References See Also
slackrUpload
enables you upload files to Slack and
(optionally) post them to one or more channels (if channels
is not empty).
1 2 3 4 5 6 7 | slackr_upload(filename, title = basename(filename),
initial_comment = basename(filename), channels = "",
api_token = Sys.getenv("SLACK_API_TOKEN"))
slackrUpload(filename, title = basename(filename),
initial_comment = basename(filename), channels = "",
api_token = Sys.getenv("SLACK_API_TOKEN"))
|
filename |
path to file |
title |
title on slack (optional - defaults to filename) |
initial_comment |
comment for file on slack (optional - defaults to filename) |
channels |
slack.com channels to save to (optional) |
api_token |
full API token |
httr
response object from POST
call (invisibly)
Quinn Weber [ctb], Bob Rudis [aut]
https://github.com/hrbrmstr/slackr/pull/15/files
slackr_setup
, dev_slackr
, save_slackr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.