stats.getPollStats

Get statistics for a poll sent in a message.

 Method schema is available as of layer 225. Switch ยป

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.