InputMediaPoll

class pyrogram.raw.types.InputMediaPoll

A poll

Constructor of InputMedia.

Details:
  • Layer: 194

  • ID: F94E5F1

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