PollAnswer#

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

A possible answer of a poll

Constructor of PollAnswer.

Details:
  • Layer: 224

  • ID: 4B7D786A

Parameters:
  • text (TextWithEntities) – Textual representation of the answer (only Premium users can use custom emoji entities here).

  • option (bytes) – The param that has to be passed to messages.sendVote.

  • media (MessageMedia, optional) – N/A

  • added_by (Peer, optional) – N/A

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