events.get

NameRequiredTypeDescription
types false EventType[]
version false String

Shortcut for a set of supported types of discussions.
For example, android.1 or ios.1 will accumulate in accordance with the PMS settings in the DiscussionType list and the result of the method will be the number of new discussions only these types.
It is necessary to show “Hide all” only in case there are unread discussions that can be displayed on this device.
This parameter can also be used for other types of events.

Authorization

Session is required

Required permissions

  • VALUABLE_ACCESS

To work correctly in all of the following methods used by the application, the value of the version parameter must match: events.get, discussions.getList, discussions.markAsRead, discussions.getDiscussionsNews.

Type

[ { "icon": "Integer", "lastId": "Long", "marker": "String", "message": "Integer", "number": "Integer", "type": "String", "uid": "String" } ]

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