Learn R Programming

slackr (version 2.3.0)

slackr_chtrans: Translate vector of channel names to channel IDs for API

Description

Given a vector of one or more channel names, retrieve list of active channels and try to replace channels that begin with "#" or "@" with the channel ID for that channel.

Usage

slackr_chtrans(channels)

Arguments

channels

vector of channel names to parse

Value

character vector - original channel list with # or @ channels replaced with ID's.