InputPollAnswer#

class pyrogram.raw.types.InputPollAnswer#

An answer option to add to an open-answer poll

Constructor of PollAnswer.

Details:
  • Layer: 227

  • ID: 199FED96

Parameters:
  • text (TextWithEntities) – The answer text

  • media (InputMedia, optional) – Optional media attachment to display alongside the answer