InputPollOption#
- class pyrogram.types.InputPollOption[source]#
This object contains information about one answer option in a poll to send.
- Parameters:
text (
FormattedText) – Option text, 1-100 characters after entity parsing. Only custom emoji entities are allowed to be added and only by Premium users.media (
InputMediaPhoto|InputMediaVideo|InputMediaSticker|Location, optional) – Media associated with the option. Currently supports only photo, video, sticker or location.