InputMediaPoll

class pyrogram.raw.types.InputMediaPoll

A poll.

Constructor type of InputMedia.

Details
  • Layer: 126

  • ID: 0xf94e5f1

Parameters
  • poll (Poll) – The poll to send.

  • correct_answers (List of bytes, optional) – Correct answer IDs (for quiz polls).

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

  • solution_entities (List of MessageEntity, optional) – Message entities for styled text.