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