<<

NAME

ProductOpener::Slack - Interact with the Slack API

SYNOPSIS

ProductOpener::Slack is used to call the Slack API to send messages to a Slack channel.

    use ProductOpener::Slack qw/send_slack_message/;

    send_slack_message(
        channel => $slack_channel,
        username => $slack_username,
        text => $slack_text,
        icon_emoji => $slack_icon_emoji,
    );

FUNCTIONS

send_slack_message ($channel, $username, $text, $icon_emoji)

send_slack_message() sends a message to a Slack channel.

returns - 1 if the message was sent successfully, 0 otherwise

<<