stats.PollStats

class pyrogram.raw.base.stats.PollStats

Telegram API base type.

Constructors:

This base type has 1 constructor available.

stats.PollStats

Telegram API type.

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"),
)