Skip to main content

sendNotification()

Last updated 12/07/2022

sendNotification()

The sendNotification() is a function on the five object which is used to send a notification to the client. The notification is available in the Notifications bell. All notifications sent to users who aren't logged in will be cached and saved so they may access them when they log in.

Available
Client


Function Signature
sendNotification(userKey, notification);

ParameterTypeDescription
userKeystringKey of the user who will receive the notification
notificationstringThe notification to be sent to the client

Examples

sendNotification()