1.1 KiB
1.1 KiB
title | description | image |
---|---|---|
updateUserBlocked | User was added to the blacklist (method [contacts.block](../methods/contacts.block.md)) or removed from the blacklist (method [contacts.unblock](../methods/contacts.unblock.md)). | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: updateUserBlocked
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}