GramIO API Reference / gramio/dist / TelegramInputPollOption
Interface: TelegramInputPollOption
Defined in: @gramio/types/out/objects.d.ts:1789
This object contains information about one answer option in a poll to be sent.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
text | string | { toString: string; } | Option text, 1-100 characters | @gramio/types/out/objects.d.ts:1793 |
text_entities? | TelegramMessageEntity[] | Optional. A JSON-serialized list of special entities that appear in the poll option text. It can be specified instead of text_parse_mode | @gramio/types/out/objects.d.ts:1801 |
text_parse_mode? | "HTML" | "MarkdownV2" | "Markdown" | Optional. Mode for parsing entities in the text. See formatting options for more details. Currently, only custom emoji entities are allowed | @gramio/types/out/objects.d.ts:1797 |