Poll#

class hydrogram.raw.types.Poll[source]#

Telegram API type.

Constructor of Poll.

Details:
  • Layer: 166

  • ID: 86E18161

Parameters:
  • id (int 64-bit) – N/A

  • question (str) – N/A

  • answers (List of PollAnswer) – N/A

  • closed (bool, optional) – N/A

  • public_voters (bool, optional) – N/A

  • multiple_choice (bool, optional) – N/A

  • quiz (bool, optional) – N/A

  • close_period (int 32-bit, optional) – N/A

  • close_date (int 32-bit, optional) – N/A