1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-14 17:47:21 +01:00
MadelineProto/docs/TD_docs/constructors/updateUserBlocked.md

39 lines
708 B
Markdown

---
title: updateUserBlocked
description: User blocked/unblocked
---
## Constructor: updateUserBlocked
[Back to constructors index](index.md)
User blocked/unblocked
### Attributes:
| Name | Type | Required | Description |
|----------|:-------------:|:--------:|------------:|
|user\_id|[int](../types/int.md) | Yes|User identifier|
|is\_blocked|[Bool](../types/Bool.md) | Yes|Is user blacklisted by current user|
### Type: [Update](../types/Update.md)
### Example:
```
$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'is_blocked' => Bool, ];
```
Or, if you're into Lua:
```
updateUserBlocked={_='updateUserBlocked', user_id=int, is_blocked=Bool, }
```