MadelineProto/docs/API_docs/constructors/dataJSON.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

595 B

title description
dataJSON dataJSON attributes, type and example

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