updateUserBlocked

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

Constructor schema is available as of layer 119. Switch »

Parameters

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

Type

 

Related pages

boolTrue

The constructor can be interpreted as a booleantrue value.

contacts.block

Adds a peer to a blocklist, see here » for more info.

contacts.unblock

Deletes a peer from a blocklist, see here » for more info.