MadelineProto/docs/TD_docs/constructors/test_string.md

43 lines
627 B
Markdown
Raw Normal View History

---
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, ];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_":"test.string","value":"string"}
```
Or, if you're into Lua:
```
test_string={_='test.string', value=string, }
```