InputPollOption

class pyrogram.types.InputPollOption

This object contains information about one answer option in a poll to be sent.

Parameters:
  • text (str | FormattedText, optional) – Option text, 1-100 characters.

  • media (InputMedia | Location, optional) – Option media. Currently, can be only of the types Animation, Location, Photo, Sticker, Venue, or Video without caption.