Learn R Programming

slackr (version 2.3.0)

auth_test: Checks authentication & identity against the Slack API.

Description

Checks authentication & identity against the Slack API.

Usage

auth_test(bot_user_oauth_token = Sys.getenv("SLACK_BOT_USER_OAUTH_TOKEN"))

Arguments

bot_user_oauth_token

The Slack bot OAuth token character vector

References

https://api.slack.com/methods/auth.test

Examples

Run this code
# NOT RUN {
if (Sys.getenv("SLACK_BOT_USER_OAUTH_TOKEN") != "") {
  auth_test()
}
# }

Run the code above in your browser using DataLab