shinyslack_team_id: Get the current team_id

get_shinyslack_team_idR Documentation

Get the current team_id

Description

The team_id is set when an app is launched. In almost all cases, that value is the one you will want for any instances of team_id.

Usage

get_shinyslack_team_id()

set_shinyslack_team_id(team_id)

Arguments

team_id

The Slack team ID through which the user is being authenticated.

Value

A string representing the team_id.

Examples

# If no app is active, the team_id will be a zero-length character vector.
get_shinyslack_team_id()

set_shinyslack_team_id("T123456")
get_shinyslack_team_id()

r4ds/shinyslack documentation built on March 26, 2024, 4:26 a.m.