MadelineProtoDocs/docs/API_docs/constructors/statsAbsValueAndPrev.md

40 lines
958 B
Markdown
Raw Normal View History

2020-04-03 14:11:09 +02:00
---
title: statsAbsValueAndPrev
2020-06-16 17:50:25 +02:00
description: Statistics value couple; intial and final value for period of time currently in consideration
2020-04-03 14:11:09 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: statsAbsValueAndPrev
[Back to constructors index](index.md)
2020-06-16 17:50:25 +02:00
Statistics value couple; intial and final value for period of time currently in consideration
2020-04-03 14:11:09 +02:00
### Attributes:
2020-06-16 17:50:25 +02:00
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|current|[double](../types/double.md) | Yes|Current value|
|previous|[double](../types/double.md) | Yes|Previous value|
2020-04-03 14:11:09 +02:00
### Type: [StatsAbsValueAndPrev](../types/StatsAbsValueAndPrev.md)
### Example:
```php
$statsAbsValueAndPrev = ['_' => 'statsAbsValueAndPrev', 'current' => double, 'previous' => double];
```
Or, if you're into Lua:
```lua
statsAbsValueAndPrev={_='statsAbsValueAndPrev', current=double, previous=double}
```