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

783 B

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

Constructor: jsonObject

Back to constructors index

Json object

Attributes:

Name Type Required Description
value Array of JSONObjectValue Yes Value

Type: JSONValue

Example:

$jsonObject = ['_' => 'jsonObject', 'value' => [JSONObjectValue, JSONObjectValue]];

PWRTelegram json-encoded version:

{"_": "jsonObject", "value": [JSONObjectValue]}

Or, if you're into Lua:

jsonObject={_='jsonObject', value={JSONObjectValue}}