Skip to content

GramIO API Reference / gramio/dist / TelegramPollOption

Interface: TelegramPollOption

Defined in: @gramio/types/out/objects.d.ts:1769

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

Documentation

Properties

PropertyTypeDescriptionDefined in
textstringOption text, 1-100 characters@gramio/types/out/objects.d.ts:1773
text_entities?TelegramMessageEntity[]Optional. Special entities that appear in the option text. Currently, only custom emoji entities are allowed in poll option texts@gramio/types/out/objects.d.ts:1777
voter_countnumberNumber of users that voted for this option@gramio/types/out/objects.d.ts:1781