1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-04 21:07:47 +01:00
MadelineProto/docs/API_docs/constructors/dataJSON.md
2017-07-23 16:11:02 +02:00

592 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, }