auth_test: Checks authentication & identity against the Slack API.

View source: R/call_slack_api.R

auth_testR Documentation

Checks authentication & identity against the Slack API.

Description

Checks authentication & identity against the Slack API.

Usage

auth_test(token = Sys.getenv("SLACK_TOKEN"))

Arguments

token

Authentication token bearing required scopes.

References

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

Examples

if (Sys.getenv("SLACK_TOKEN") != "") {
  auth_test()
}

hrbrmstr/slackr documentation built on Nov. 10, 2023, 5:32 p.m.