newsfeed.getBanned
Returns a list of users and communities banned from the current user's newsfeed.
Parameters
checkbox
1 — return extra information about users and communities
string
Profile fields to return. Click here for the full list of supported parameters.
string
Case for declension of user name and surname: nom — nominative (default) gen — genitive dat — dative acc — accusative ins — instrumental abl — prepositional
Result
Returns an object with the following fields:
- •groups — An array of community IDs that the user removed from the newsfeed.
- •members — An array of friend IDs that the user removed from the newsfeed.
Error codes
Common errors may occur during execution
Linked versions
Go to API versions page- •
In return objects that describe community , появилось новое поле
is_messages_blocked. - •
В Callback API Added new events:
message_allowandmessage_deny. Методgroups.setCallbackSettingstwo new parameters, and the methodgroups.getCallbackSettingsreturns two new fields, respectively.
If no end date is specified in the method call parameters, return objects that describe community They no longer have a field.. finish_data . Previously, this field was present in the response and contained the default, equal to start_date + 2 hours.