Developers » API methods » Secure » secure.sendNotification
Securesecure.sendNotification
Sends notification to the user.
The following limitation is applied to games:
If last time the user logged in the application was more than a month ago, the notification will not be sent.

Type (game or application) is selected in the application editing interface by the developer and checked by the moderator when the application is added to the catalog.

This method can be called with a service token.
Parameters
user_idsIDs of users to whom notification is sent (100 maximum), separated with a comma.
list of comma-separated positive numbers
user_iduser ID.
positive number
messagenotification text which should be sent in UTF-8 encoding (254 characters maximum).
string, required parameter
Result
Returns IDs of users to whom notification was successfully sent, separated with a comma.
Errors
Global errors can occur while running. See their descriptions on this page.