Все переводы

Введите имя сообщения для показа всех доступных переводов.

Сообщение

Найдено 2 перевода.

СообщениеТекущий текст
 ист. английский (en)==How to set up notifications with more complex conditions==
The notification module is designed to quickly configure simple notifications. If you need more complex notification scripts, they can be programmed via [[Движок правил wb-rules/en | rules engine]]. To send a message, call the function from the rule
<syntaxhighlight lang="JavaScript">
Notify.sendEmail(to, subject, text); //sends mail to the specified recipient (to), with the specified subject and content (text)
</syntaxhighlight>
or
<syntaxhighlight lang="JavaScript">
Notify.sendSMS(to, text); //sends SMS to specified number (to) with specified content (text)
</syntaxhighlight>
 ист. русский (ru)==Как настроить уведомления с более сложными условиями==
Модуль уведомлений предназначен для быстрой настройки простых уведомлений. Если вам нужны более сложные сценарии уведомлений, их можно запрограммировать через [[Движок правил wb-rules | движок правил]]. Чтобы отправить сообщение, из правила нужно вызвать функцию
<syntaxhighlight lang="ecmascript">
Notify.sendEmail(to, subject, text); //отправляет почту указанному адресату (to), с указанной темой (subject) и содержимым (text)
</syntaxhighlight>
или
<syntaxhighlight lang="ecmascript">
Notify.sendSMS(to, text); //отправляет SMS на указанный номер (to) с указанным содержимым (text)
</syntaxhighlight>