Slack Developer Kit for Node.js
Go to GitHub

IncomingWebhook

A client for Slack’s Incoming Webhooks

Kind: static class of @slack/client

incomingWebhook.send(message) ⇒ Promise.<IncomingWebhookResult>

Send a notification to a conversation

Kind: instance method of IncomingWebhook

Param Type Description
message string | IncomingWebhookSendArguments the message (a simple string, or an object describing the message)

incomingWebhook.send(message, callback)

Kind: instance method of IncomingWebhook

Param Type
message string | IncomingWebhookSendArguments
callback IncomingWebhookResultCallback

incomingWebhook.send(message, callback)

Kind: instance method of IncomingWebhook

Param Type
message string | IncomingWebhookSendArguments
callback IncomingWebhookResultCallback