InputPollOption¶
- class pyrogram.types.InputPollOption
Bases:
ObjectThis object contains information about one answer option in a poll to be sent.
- Parameters:
text (
str|FormattedText) – Option text, 1-100 characters.media (
InputMediaPhoto|InputMediaVideo|InputMediaSticker|Location, optional) – Option media. Currently, can be only of the types Photo, Video, Sticker or Location.