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.animation (
str, optional) – Pass a file_id as string to send a photo that exists on the Telegram servers.photo (
str, optional) – Pass a file_id as string to send a photo that exists on the Telegram servers.sticker (
str, optional) – Pass a file_id as string to send a photo that exists on the Telegram servers.video (
str, optional) – Pass a file_id as string to send a photo that exists on the Telegram servers.