InputMediaPoll#

class pyrogram.raw.types.InputMediaPoll[source]#

A poll

Constructor of InputMedia.

Details:
  • Layer: 224

  • ID: 883A4108

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

  • correct_answers (List of int 32-bit, optional) – Correct answer IDs (for quiz polls)

  • attached_media (InputMedia, optional) – N/A

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

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

  • solution_media (InputMedia, optional) – N/A