PollResults#

class pyrogram.raw.types.PollResults#

Results of poll

Constructor of PollResults.

Details:
  • Layer: 227

  • ID: BA7BB15E

Parameters:
  • min (bool, optional) – Similar to min objects, used for poll constructors that are the same for all users so they don’t have the option chosen by the current user (you can use messages.getPollResults to get the full poll results).

  • has_unread_votes (bool, optional) – Whether there are unread votes in this non-anonymous poll, see polls »

  • can_view_stats (bool, optional) – Whether the current user can view detailed poll statistics »

  • results (List of PollAnswerVoters, optional) – Poll results

  • total_voters (int 32-bit, optional) – Total number of people that voted in the poll

  • recent_voters (List of Peer, optional) – IDs of the last users that recently voted in the poll

  • solution (str, optional) – Explanation of quiz solution

  • solution_entities (List of MessageEntity, optional) – Message entities for styled text in quiz solution

  • solution_media (MessageMedia, optional) – Optional media attachment shown alongside the quiz solution explanation