1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 05:56:55 +01:00
MadelineProto/docs/TD_docs/constructors/updateUserBlocked.md
2017-07-23 16:33:46 +02:00

839 B

title description
updateUserBlocked User blocked/unblocked

Constructor: updateUserBlocked

Back to constructors index

User blocked/unblocked

Attributes:

Name Type Required Description
user_id int Yes User identifier
is_blocked Bool Yes Is user blacklisted by current user

Type: Update

Example:

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

PWRTelegram json-encoded version:

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

Or, if you're into Lua:

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