MadelineProto/old_docs/API_docs_v42/constructors/vector.md

40 lines
364 B
Markdown
Raw Normal View History

---
title: vector
2018-03-23 17:44:33 +01:00
description: Array
---
## Constructor: vector
[Back to constructors index](index.md)
2018-03-23 17:44:33 +01:00
Array
### Type: [Vector t](../types/Vector t.md)
### Example:
```
2017-07-23 16:33:46 +02:00
$vector = ['_' => 'vector'];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
2017-07-23 16:33:46 +02:00
{"_": "vector"}
2017-07-23 16:11:02 +02:00
```
Or, if you're into Lua:
```
2017-07-23 16:33:46 +02:00
vector={_='vector'}
```