MadelineProto/docs/TD_docs/constructors/test_string.md
2017-07-23 16:33:46 +02:00

43 lines
630 B
Markdown

---
title: test.string
description: test_string attributes, type and example
---
## Constructor: test.string
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|value|[string](../types/string.md) | Yes|
### Type: [test\_String](../types/test_String.md)
### Example:
```
$test_string = ['_' => 'test.string', 'value' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "test.string", "value": "string"}
```
Or, if you're into Lua:
```
test_string={_='test.string', value='string'}
```