This function send a Slack message using its Webhooks.
Arguments
- text, title, pretext
Character. Content on you Slack message.
- hook
Character. Web hook URL. Ths value will be overwritten by creds if correctly used.
- creds
Character. Credential's dir (see
get_creds()
). Set hook URL into the "slack" list in your YML file. Will use first value.
Details
For more help, you can follow the Sending messages using Incoming Webhooks original documentarion.
See also
Other API:
bring_api()
,
fb_accounts()
,
fb_ads()
,
fb_creatives()
,
fb_insights()
,
fb_process()
,
fb_report_check()
,
fb_rf()
,
fb_token()
,
gemini_ask()
,
gpt_ask()
,
li_auth()
,
li_profile()
,
queryGA()
Other Credentials:
db_download()
,
db_upload()
,
get_credentials()
,
get_tweets()
,
mail_send()
,
queryDB()
,
queryGA()
,
stocks_file()
Examples
if (FALSE) { # \dontrun{
slackSend(text = "This is a message", title = "TEST", pretext = Sys.info()["user"])
} # }