1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-02 23:47:48 +01:00
MadelineProto/docs/API_docs/constructors/simpleDataBlock.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

688 B

title description
simpleDataBlock simpleDataBlock attributes, type and example

Constructor: simpleDataBlock

Back to constructors index

Attributes:

Name Type Required
raw_data string Yes

Type: DecryptedDataBlock

Example:

$simpleDataBlock = ['_' => 'simpleDataBlock', 'raw_data' => 'string'];

PWRTelegram json-encoded version:

{"_": "simpleDataBlock", "raw_data": "string"}

Or, if you're into Lua:

simpleDataBlock={_='simpleDataBlock', raw_data='string'}