mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
849 B
849 B
title | description | nav_exclude | image |
---|---|---|---|
statsPercentValue | Channel statistics percentage. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: statsPercentValue
Channel statistics percentage.
Compute the percentage simply by doing part * total / 100
Attributes:
Name | Type | Required | Description |
---|---|---|---|
part | double | Yes | Partial value |
total | double | Yes | Total value |
Type: StatsPercentValue
Example:
$statsPercentValue = ['_' => 'statsPercentValue', 'part' => double, 'total' => double];