The notify event allows modules to capture notifications such as new orders and forward them on to notification services such as SMS gateways.
Notification of a notifiable event within the system. Specific users may be targeted with the notification by using the @username notation within the message body, username is the users name within the target notification system or otherwise used by the module processing the events.
Parameter | Description |
---|---|
level | The importance level of the notification, 1 is the least important and 5 is the most important, 0 is disabled. |
message | The text message of the notification. |
mention |
Optional text string holding the names of users to notify prefixed with @ e.g. @user. |