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

641 B

title description image
dataJSON Represents a json-encoded object https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: dataJSON

Back to constructors index

Represents a json-encoded object

Attributes:

Name Type Required Description
data string Yes JSON-encoded object

Type: DataJSON

Example:

$dataJSON = ['_' => 'dataJSON', 'data' => 'string'];

Or, if you're into Lua:

dataJSON={_='dataJSON', data='string'}