2017-01-25 23:16:22 +01:00
|
|
|
---
|
|
|
|
title: updateUserStatus
|
|
|
|
description: updateUserStatus attributes, type and example
|
|
|
|
---
|
|
|
|
## Constructor: updateUserStatus
|
|
|
|
[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|
|
|
|
|
|status|[UserStatus](../types/UserStatus.md) | Yes|
|
2017-01-25 23:16:22 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [Update](../types/Update.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```
|
|
|
|
$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ];
|
|
|
|
```
|
|
|
|
|
2017-03-11 19:54:51 +01:00
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus, }
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|