discussions.getDiscussionsNews

Obtain information about the news in the discussions for which the current user is subscribed.

NameRequiredTypeDescription
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.
It is necessary to show “Hide all” only in case there are unread discussions that can be displayed on this device.

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

{ "news": [ { "filter": "String", "has_news": "Boolean", "is_new": "Boolean", "link": "String", "news_type": "String", "title": "String" } ], "preferred": "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