mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-14 02:07:42 +01:00
43 lines
566 B
Markdown
43 lines
566 B
Markdown
|
---
|
||
|
title: userEmpty
|
||
|
description: userEmpty attributes, type and example
|
||
|
---
|
||
|
## Constructor: userEmpty
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required |
|
||
|
|----------|---------------|----------|
|
||
|
|id|[int](../types/int.md) | Yes|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [User](../types/User.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$userEmpty = ['_' => 'userEmpty', 'id' => int];
|
||
|
```
|
||
|
|
||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||
|
|
||
|
```
|
||
|
{"_": "userEmpty", "id": int}
|
||
|
```
|
||
|
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
|
||
|
```
|
||
|
userEmpty={_='userEmpty', id=int}
|
||
|
|
||
|
```
|
||
|
|
||
|
|