PollResults#

class pyrogram.raw.types.PollResults#

Results of poll.

Constructor of PollResults.

Details:
  • Layer: 158

  • ID: DCB82EA3

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).

  • 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 int 64-bit, 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.