1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 08:56:56 +01:00
MadelineProto/docs/TD_docs/constructors/updateUserBlocked.md

39 lines
708 B
Markdown
Raw Normal View History

---
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, }
```