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