PollResults

class pyrogram.raw.types.PollResults

Results of poll.

Constructor type of PollResults.

Details
  • Layer: 126

  • ID: 0xbadcc1a3

Parameters
  • min (bool, optional) – Similar to min objects, used for poll constructors that are the same for all users so they don’t have 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 32-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.