Constructor: updateUserBlocked

Back to constructors index

User was added to the blacklist (method contacts.block) or removed from the blacklist (method contacts.unblock).

Attributes:

Name Type Required Description
user_id int Yes User id
blocked Bool Yes (boolTrue) if the the user is blocked

Type: Update

Example:

$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool];

Or, if you’re into Lua:

updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.