MadelineProtoDocs/old_docs/API_docs_v97/constructors/jsonNumber.md

39 lines
598 B
Markdown
Raw Normal View History

2019-05-03 21:10:09 +02:00
---
title: jsonNumber
description: Json number
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: jsonNumber
[Back to constructors index](index.md)
Json number
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|value|[double](../types/double.md) | Yes|Value|
### Type: [JSONValue](../types/JSONValue.md)
### Example:
```php
$jsonNumber = ['_' => 'jsonNumber', 'value' => double];
```
Or, if you're into Lua:
```lua
jsonNumber={_='jsonNumber', value=double}
```