MadelineProtoDocs/old_docs/API_docs_v34/constructors/jsonArray.md
2020-06-16 17:50:25 +02:00

632 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 JSON values

Type: JSONValue

Example:

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

Or, if you're into Lua:

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