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