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

849 B

title description nav_exclude image
statsPercentValue Channel statistics percentage. true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: statsPercentValue

Back to constructors index

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];