Skip to content

GramIO API Reference / gramio/dist / TelegramInputPollOption

Interface: TelegramInputPollOption

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

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

Documentation

Properties

PropertyTypeDescriptionDefined in
media?TelegramInputPollOptionMediaOptional. Media added to the poll option@gramio/types/out/objects.d.ts:2115
textstring | { toString: string; }Option text, 1-100 characters@gramio/types/out/objects.d.ts:2103
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:2111
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:2107