MadelineProtoDocs/docs/API_docs/constructors/simpleDataBlock.md
2018-04-01 13:24:46 +02: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'}