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