0.0.8 • Published 11 years ago
controlio-result-slack-webhook v0.0.8
controlio-result-slack-webhook
A result module for controlio.
Description
Send a message to a slack webhook
Options
A slack object is expected at either the host, check or on level. You
can set defaults on an upper level and then override single options at lower
levels. The following options are allowed:
webhook: Webhook URLhost: DEPRECATED Hostname of your Slack team.token: DEPRECATED The webhook token you defined in your integrationstext: The message text. Can contain placeholders.attachments: An optional attachments array as defined in the Slack documentationchannel: Optional channel nameusername: Optional username for the message sendericon_url: Optional URL to an icon for the sendericon_emoji: Optional emoji name as the sender icon
All string values within the slack object will be (recursively) processed for placeholders.
instead of the deprecated host and token options it is recommended to use
the webhook option, giving the full Webhook URL as shown in the integration
settings.