MadelineProtoDocs/old_docs/API_docs_v81/constructors/dataJSON.md

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