mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-14 19:06:55 +01:00
39 lines
708 B
Markdown
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, }
|
||
|
|
||
|
```
|
||
|
|
||
|
|