Slack
Add a Slack model with:
Init the Slack object like this:
Config object
Reference:
.sendMessage()
This method will send your message to a given channel.
Arguments:
Returns:
void
Last updated
Add a Slack model with:
Init the Slack object like this:
Reference:
This method will send your message to a given channel.
Arguments:
Returns:
void
Last updated
Parameter | Type | Description |
---|---|---|
Argument | Type | Description |
---|---|---|
token
string
Your Slack API token which you can generate in Slack settings. More info on Slack documentation.
channel
string
Name of the channel you want to send your message in
message
string
Your own message