MadelineProtoDocs/old_docs/API_docs_v40/constructors/statsAbsValueAndPrev.md

958 B

title description image
statsAbsValueAndPrev Statistics value couple; intial and final value for period of time currently in consideration https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: statsAbsValueAndPrev

Back to constructors index

Statistics value couple; intial and final value for period of time currently in consideration

Attributes:

Name Type Required Description
current double Yes Current value
previous double Yes Previous value

Type: StatsAbsValueAndPrev

Example:

$statsAbsValueAndPrev = ['_' => 'statsAbsValueAndPrev', 'current' => double, 'previous' => double];

Or, if you're into Lua:

statsAbsValueAndPrev={_='statsAbsValueAndPrev', current=double, previous=double}