Given a vector of one or more channel names, it will retrieve list of
active channels and try to replace channels that begin with "#
" or "@
"
with the channel ID for that channel. Also incorporates groups.
slackr_chtrans(channels, api_token = Sys.getenv("SLACK_API_TOKEN"))slackrChtrans(channels, api_token = Sys.getenv("SLACK_API_TOKEN"))
slackrChTrans(channels, api_token = Sys.getenv("SLACK_API_TOKEN"))
vector of channel names to parse
the slack.com full API token (chr)
character vector - original channel list with #
or
@
channels replaced with ID's.