notifications.sendSimple

Sends a simple notification from the app to the user

NameRequiredTypeDescription
uid true String

Recipient identifier

text true String

A message that will be sent as a notification to the user

mark false String

The tag that will be passed to the application in the custom_args parameter on transition by notification

qualifier false String
custom_button_key false String

If set, it allows replacement of the default test value on the button in the notification. For example, if “button_save” is specified, the button will say “Save” instead of “Start playing”

Authorization

Session is prohibited

Required permissions

  • VALUABLE_ACCESS

Restrictions

В тексте оповещения допускается указывать не более 5 спец. символов или эмодзи

  • The notification can only be sent to users who launched the application no more than 14 days ago, otherwise a LIMIT REACHED error will be returned.
  • Notification text length may not exceed 100 characters
  • Each individual user can have a maximum of 1 individual notification. If a user has not closed a previous notification and the app sends a newer one to that user, the old one will be deleted.
  • The method has a separate limit of 5 calls from the app per day per user

Type

"boolean"

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