vk.notifications.sendMessage
Sends a notification to the users of the application
| Name | Required | Type | Description | 
|---|---|---|---|
| user_ids | true | Comma separated list of user identifiers  | |
| message | false | Notification text, maximum 254 characters  | |
| message_id | false | Notification text identifier  | |
| fragment | false | Hash part in reference to application  | 
Authorization
Session is requiredRequired permissions
- VALUABLE_ACCESS
 
Restrictions
- The method has a limit of 1 notification from the application per day for each user;
 - Only active application users can receive notifications from it. To count as an active user must have launched an application at least once in last 3 months;
 - When making calls with a developer token, you can send an unlimited number of notifications to application developers
 
Possible exceptions
If you fail to meet any of restrictions listed above notification won’t be sent to a user. Instead you will receive an error in method’s response depending on what restriction you failed to meet.
| Reason | Error text | Error code | 
| Notifications are disabled for user | Notifications are disabled | 1 | 
| Daily notifications limit is reached | Send rate exceeded | 2 | 
| User did not install an application | Not authorized | 4 | 
| User did not launch an application for 3 months | User is inactive | 6 | 

