You are here

function slack_get_default_channel in Slack 7

Same name and namespace in other branches
  1. 6 includes/slack.api.inc \slack_get_default_channel()

Get default team channel.

Return value

string Get default team channel.

3 calls to slack_get_default_channel()
slack_rules_send_message_action in ./slack.rules.inc
Rules action for sending a message to the Slack.
slack_send_message in includes/slack.api.inc
Send message to the Slack.
slack_tokens in ./slack.tokens.inc
Implements hook_tokens().

File

includes/slack.api.inc, line 170
Slack integration module API functions.

Code

function slack_get_default_channel() {
  $channel = variable_get('slack_channel');
  return $channel;
}