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);
Parameter | Type | Description |
---|---|---|
userKey | string | Key of the user who will receive the notification. |
notification | string | The notification to be sent to the client. |