MadelineProtoDocs/old_docs/API_docs_v82/constructors/userEmpty.md

45 lines
657 B
Markdown
Raw Normal View History

2018-12-26 02:56:50 +01:00
---
title: userEmpty
description: Empty user
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: userEmpty
[Back to constructors index](index.md)
Empty user
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[int](../types/int.md) | Yes|ID|
### Type: [User](../types/User.md)
### Example:
```php
$userEmpty = ['_' => 'userEmpty', 'id' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "userEmpty", "id": int}
```
Or, if you're into Lua:
```lua
userEmpty={_='userEmpty', id=int}
```