stats.getPollStats

Get statistics for a poll sent in a message.

stats.pollStats#2999beed votes_graph:StatsGraph = stats.PollStats;
---functions---
stats.getPollStats#c27dfa68 flags:# dark:flags.0?true peer:InputPeer msg_id:int = stats.PollStats;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
dark flags.0?true Whether to enable dark theme for graph colors
peer InputPeer The peer where the poll was sent
msg_id int ID of the message containing the poll

Result

stats.PollStats

Only users can use this method

Possible errors

Code Type Description
400 PEER_ID_INVALID The provided peer id is invalid.

Related pages

Channel statistics

Telegram offers detailed channel statistics for channels and supergroups.