MadelineProtoDocs/old_docs/API_docs_v66/constructors/dataJSON.md

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