MadelineProtoDocs/old_docs/API_docs_v72/constructors/updateUserBlocked.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

861 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];

PWRTelegram json-encoded version:

{"_": "updateUserBlocked", "user_id": int, "blocked": Bool}

Or, if you're into Lua:

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