stats.GetPollStats#

class pyrogram.raw.functions.stats.GetPollStats#

Get statistics for a poll sent in a message.

Usable by Users Bots
Details:
  • Layer: 227

  • ID: C27DFA68

Parameters:
  • peer (InputPeer) – The peer where the poll was sent

  • msg_id (int 32-bit) – ID of the message containing the poll

  • dark (bool, optional) – Whether to enable dark theme for graph colors

Returns:

stats.PollStats