StatsPercentValue

class pyrogram.raw.types.StatsPercentValue

Channel statistics percentage. Compute the percentage simply by doing part * total / 100

Constructor of StatsPercentValue.

Details:
  • Layer: 223

  • ID: CBCE2FE0

Parameters:
part (float 64-bit):

Partial value

total (float 64-bit):

Total value

TL Schema

statsPercentValue#cbce2fe0
part:double
total:double

= StatsPercentValue

Parameter Tree

StatsPercentValue
├── partdouble
└── totaldouble

Example

StatsPercentValue(
    part=0.0,
    total=0.0,
)