MadelineProtoDocs/docs/API_docs/constructors/dataJSON.md
2024-05-01 14:53:46 +02:00

30 lines
623 B
Markdown

---
title: "dataJSON"
description: "Represents a json-encoded object"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: dataJSON
[Back to constructors index](/API_docs/constructors/index.html)
Represents a json-encoded object
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|data|[string](/API_docs/types/string.html) | Yes|JSON-encoded object|
### Type: [DataJSON](/API_docs/types/DataJSON.html)
### Example:
```
$dataJSON = ['_' => 'dataJSON', 'data' => 'string'];
```