stats.getPollStats #

Get statistics for a poll sent in a message.

Layer 223

Method schema is available as of layer 225. Switch »

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
darkflags.0?trueWhether to enable dark theme for graph colors
peerInputPeerThe peer where the poll was sent
msg_idintID of the message containing the poll

Result #

stats.PollStats

Only users can use this method #

Possible errors #

CodeTypeDescription
400PEER_ID_INVALIDThe provided peer id is invalid.

Channel statistics #

Telegram offers detailed channel statistics for channels and supergroups.