SendNotification
- SendNotification(channelName, recipients, subject, text): void
-
Sends notification to specified recipients.
Table 1. Parameters channelName
String
Name of notification channel.
recipients
String
List of recipients. Multiple recipients should be separated by ";".
subject
String
Subject. Not all notification channel may support this field, in this case empty string "" should be provided.
text
String
Message text.
ReturnNo return value. If the script is executed on behalf of a user without the "Send notifications" system access right, or the recipient list is empty, nothing is sent.
SendNotification("Telegram", "Alice; Bob", "", "My message text");