Class: IncomingWebhook
A client for Slack's Incoming Webhooks
Constructors
new IncomingWebhook()
new IncomingWebhook(url, defaults): IncomingWebhook
Parameters
• url: string
• defaults: IncomingWebhookDefaultArguments
= ...
Returns
Defined in
Methods
send()
send(message): Promise<IncomingWebhookResult>
Send a notification to a conversation
Parameters
• message: string
| IncomingWebhookSendArguments
the message (a simple string, or an object describing the message)
Returns
Promise
<IncomingWebhookResult
>