2017-01-25 23:16:22 +01:00
|
|
|
---
|
|
|
|
title: updateUserBlocked
|
|
|
|
description: updateUserBlocked attributes, type and example
|
|
|
|
---
|
|
|
|
## Constructor: updateUserBlocked
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required |
|
|
|
|
|----------|:-------------:|---------:|
|
2017-03-11 19:54:51 +01:00
|
|
|
|user\_id|[int](../types/int.md) | Yes|
|
|
|
|
|blocked|[Bool](../types/Bool.md) | Yes|
|
2017-01-25 23:16:22 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [Update](../types/Update.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```
|
|
|
|
$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ];
|
|
|
|
```
|
|
|
|
|
2017-03-11 19:54:51 +01:00
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
updateUserBlocked={_='updateUserBlocked', user_id=int, blocked=Bool, }
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|