MadelineProtoDocs/docs/API_docs/constructors/jsonArray.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

738 B

title description image
jsonArray Json array https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: jsonArray

Back to constructors index

Json array

Attributes:

Name Type Required Description
value Array of JSONValue Yes Value

Type: JSONValue

Example:

$jsonArray = ['_' => 'jsonArray', 'value' => [JSONValue, JSONValue]];

PWRTelegram json-encoded version:

{"_": "jsonArray", "value": [JSONValue]}

Or, if you're into Lua:

jsonArray={_='jsonArray', value={JSONValue}}