MadelineProtoDocs/old_docs/API_docs_v73/constructors/dataJSON.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

668 B

title description image
dataJSON dataJSON attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: dataJSON

Back to constructors index

Attributes:

Name Type Required
data string Yes

Type: DataJSON

Example:

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

PWRTelegram json-encoded version:

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

Or, if you're into Lua:

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