MadelineProtoDocs/old_docs/API_docs_v82/constructors/updateUserBlocked.md

730 B

title description image
updateUserBlocked Update user blocked https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateUserBlocked

Back to constructors index

Update user blocked

Attributes:

Name Type Required Description
user_id int Yes User ID
blocked Bool Yes Blocked?

Type: Update

Example:

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

Or, if you're into Lua:

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