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 | true | | Notification text, maximum 254 characters |
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.
- When making calls with a developer token, you can send an unlimited number of notifications to application developers
Type
{ "response": { "count": "int", "items": [ "Object" ] } }
Application paramters
User session data
|
Method
List of paramters
Используем для подписи secret_key = session_secret_key
Используем для подписи secret_key = application_secret_key
Используем для подписи secret_key = MD5(access_token + application_secret_key)
secret_key =
Сортируем и склеиваем параметры запроса и secret_key
Рассчитываем MD5 от полученной строки и получаем параметр sig