slack_message: A function to build a message and POST it to Slack.

Description Usage Arguments

Description

Given inputs, uses httr::POST to post a message to Slack.

Usage

1
2
slack_message(url, channel = NULL, user_name = NULL, text = NULL,
  private = TRUE)

Arguments

url

The return_url provided by Slack (character string).

channel

The channel to post the message to (character string).

text

The text that should be posted (character string).

private

Whether this message should be posted privately to the user (TRUE), or posted publically (FALSE).

username

The username to post in response to (character string).


bochocki/slackrsheets documentation built on May 8, 2019, 9:46 a.m.