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.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
text | string | Option 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_count | number | Number of users that voted for this option | @gramio/types/out/objects.d.ts:1781 |