Displays the user notification dialog. Allows specifying a default notification text and application custom arguments.
A notification is similar to an invitation, except that it can be sent to users who are already using the application.
|text||Yes||Text that will be sent in the notification|
|params||No||Custom data transmitted to the application when a user accepts the invitation. The data will be transmitted in the custom_args parameter. For more information, see application parameters.|
Max length: 120 characters.
|selected_uids||No||The list of friend IDs that will already be selected when the invitation window opens.|
20 IDs per request max.
Users must be in the friend list. Friends selected are only those who have been playing games recently.
Notifications are restricted to 20 per day per one user (50 for applications that are not launched). Before calling the method, you can check the restriction with the users.getCallsLeft method, indicating the special constant notifications.sendFromUser.
Example with using selected_uids