You are here

function slack_rules_send_message_action in Slack 6

Same name and namespace in other branches
  1. 7 slack.rules.inc \slack_rules_send_message_action()

Rules action for sending a message to the Slack.

1 string reference to 'slack_rules_send_message_action'
slack_rules_action_info in ./slack.rules.inc
Implements hook_rules_action_info().

File

./slack.rules.inc, line 40
Slack integration module rules functions.

Code

function slack_rules_send_message_action($message, $channel, $username) {
  slack_send_message($message, $channel, $username);
}