Functions to extract information about teams

get_teams()

get_team_env()

get_active_team()

get_team_creds(team = get_active_team())

get_team_users(team, fields = c("id", "name", "real_name"))

get_team_channels(team, fields = NULL)

get_channel_members(channel)

get_channel_info(channel)

get_member_name(id)

get_activeteam_id()

Arguments

team

character, name of team

fields

character, columns to return in get_team_channels and get_team_users, NULL will return all the columns

channel

character, name of a channel

id

character, unique member id

Value

character

Details

Channels can be a public channel, a private channel a direct message or group direct message. To get the names of the channels the user has access to use get_team_channels(fields = 'name').