mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-13 05:47:20 +01:00
595 B
595 B
title | description |
---|---|
dataJSON | dataJSON attributes, type and example |
Constructor: dataJSON
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'}