# updateUserBlocked

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

No such constructor in the current schema.

### Parameters

| Name | Type | Description |
| --- | :---: | --- |
| **user\_id** | [int](/type/int.md) | User id |
| **blocked** | [Bool](/type/Bool.md) | ([boolTrue](/constructor/boolTrue.md)) if the user is blocked |

### Type
&nbsp;

### Related pages

#### [boolTrue](/constructor/boolTrue.md)
The constructor can be interpreted as a **boolean**`true` value.

#### [contacts.block](/method/contacts.block.md)
Adds a peer to a blocklist, see [here »](/api/block.md) for more info.

#### [contacts.unblock](/method/contacts.unblock.md)
Deletes a peer from a blocklist, see [here »](/api/block.md) for more info.