MadelineProtoDocs/docs/API_docs/constructors/jsonArray.md

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}}