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