mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-12 10:39:38 +01:00
36 lines
569 B
Markdown
36 lines
569 B
Markdown
---
|
|
title: simpleDataBlock
|
|
description: simpleDataBlock attributes, type and example
|
|
---
|
|
## Constructor: simpleDataBlock
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required |
|
|
|----------|:-------------:|---------:|
|
|
|raw\_data|[string](../types/string.md) | Yes|
|
|
|
|
|
|
|
|
### Type: [DecryptedDataBlock](../types/DecryptedDataBlock.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$simpleDataBlock = ['_' => 'simpleDataBlock', 'raw_data' => string, ];
|
|
```
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
```
|
|
simpleDataBlock={_='simpleDataBlock', raw_data=string, }
|
|
|
|
```
|
|
|
|
|