Poll

class pyrogram.raw.types.Poll

Telegram API type.

Constructor of Poll.

Details:
  • Layer: 224

  • ID: B8425BE9

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

  • question (TextWithEntities) – N/A

  • answers (List of PollAnswer) – N/A

  • hash (int 64-bit) – N/A

  • closed (bool, optional) – N/A

  • public_voters (bool, optional) – N/A

  • multiple_choice (bool, optional) – N/A

  • quiz (bool, optional) – N/A

  • open_answers (bool, optional) – N/A

  • revoting_disabled (bool, optional) – N/A

  • shuffle_answers (bool, optional) – N/A

  • hide_results_until_close (bool, optional) – N/A

  • creator (bool, optional) – N/A

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

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