add_team_interactive: Interactive Team Management

View source: R/team_management.R

add_team_interactiveR Documentation

Interactive Team Management

Description

Add a team interactively

Usage

add_team_interactive(scopes = load_scopes())

Arguments

scopes

character, scopes to request. Must include "users:read", "channels:read", "groups:read", "im:read", and "mpim:read" at minimum.

Details

Launch a browser window to interactively grant slackteams permission to act on your behalf on a Slack team.

Two environment variables control this function:

  • SLACK_CLIENT_ID: character, the client_id of a Slack app. If this is not provided, the function will use the built-in R4DS Slack app.

  • SLACK_CLIENT_SECRET: character, the client_secret of a Slack app. If this is not provided, the function will use the built-in R4DS Slack app.

Note

This function does not currently work in an Rstudio Server setup. We are exploring options to remedy this situation.


yonicd/slackteams documentation built on March 13, 2023, 6:26 a.m.