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

687 B

title description image
dataJSON Data json https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: dataJSON

Back to constructors index

Data json

Attributes:

Name Type Required Description
data string Yes Data

Type: DataJSON

Example:

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

PWRTelegram json-encoded version:

{"_": "dataJSON", "data": "string"}

Or, if you're into Lua:

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