slackteams
is a part of slackverse
slackcalls |
||
slackthreads |
slackteams |
slackposts |
slackblocks |
||
slackreprex |
slackteams
is an R
package that allows the user to manage multiple Slack teams during a session.
Creating a token is simple using
slackteams::add_team_interactive()
This will generate a minimal Slack api token for you to interact with the Slack. For more information on the different permissions the token can take refer to the Managing Tokens Vignette
The token team will be created, loaded and activated for you, so you can start working right away. To store this token for future sessions refer to Storing A Token.
slackteams::load_teams()
# The following teams are loaded:
# slackr, R4ds
slackteams::activate_team('R4ds')
# slack environment variables are set to 'R4ds' supplied definitions
slackteams::get_team_channels()
slackteams::get_team_users()
slackteams::activate_team('slackr')
# slack environment variables are set to 'slackr' supplied definitions