notify( )


Sends a notification.

The notify() function sends a notification to the specified site contributors on the specified channels.

Use the channels parameter to specify which channels to send the notification to.

Use the recipients property of the options parameter to specify which site contributors to send the notification to.

Method Declaration
Copy
Method Parameters
bodystringRequired

Contents of the notification. Max length: 512 characters.


channelsArray<string>Required

The channels to send the notification on. One or more of:

  • "Mobile": Sends the notification to the Wix App.
  • "Dashboard": Sends the notification to the contributor's Wix dashboard.
  • "Browser": Sends the notification to the contributor's browser.

optionsNotificationOptions

Additional notification related information.

Was this helpful?
Yes
No