get_methods: Query Team Information

get_teamsR Documentation

Query Team Information

Description

Functions to extract information about teams

Usage

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

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').

Value

character


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