MadelineProtoDocs/old_docs/API_docs_v82/constructors/dataJSON.md
2019-12-27 17:48:04 +01: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'}