stats.PollStats

class pyrogram.raw.types.stats.PollStats

Telegram API type.

Constructor of PollStats.

Details:
  • Layer: 225

  • 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_graphStatsGraph
├── StatsGraphAsync
│ └── tokenstring
├── StatsGraphError
│ └── errorstring
└── StatsGraph
├── jsonDataJSON
│ └── DataJSON
│ └── datastring
└── zoom_tokenstring (optional)

Example

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