stats.PollStats

class pyrogram.raw.types.stats.PollStats

Telegram API type.

Constructor of PollStats.

Details:
  • Layer: 227

  • ID: 2999BEED

Parameters:

votes_graph (StatsGraph) – N/A

Functions:

This object can be returned by 1 function.

stats.GetPollStats

Telegram API function.

TL Schema

stats.pollStats#2999beed
votes_graph:StatsGraph

= stats.PollStats

Parameter Tree

PollStats
└── votes_graph → StatsGraph
├── StatsGraphAsync
│ └── token → string
├── StatsGraphError
│ └── error → string
└── StatsGraph
├── json → DataJSON
│ └── DataJSON
│ └── data → string
└── zoom_token → string (optional)

Example

PollStats(
    votes_graph=StatsGraphAsync(token="text"),
)