PollAnswer

class hydrogram.raw.types.PollAnswer[source]

A possible answer of a poll

Constructor of PollAnswer.

Details:
  • Layer: 181

  • ID: FF16E2CA

Parameters:
  • text (TextWithEntities) – Textual representation of the answer

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