Skip to main content
Module

x/grammy_types/mod.ts>InputPollOption

Type declarations of the Telegram Bot API.
Very Popular
Go to Latest
interface InputPollOption
Re-export
import { type InputPollOption } from "https://deno.land/x/grammy_types@v3.7.0/mod.ts";

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

Properties

text: string

Option text, 1-100 characters

optional
text_parse_mode: string

Mode for parsing entities in the text. See formatting options for more details. Currently, only custom emoji entities are allowed

optional
text_entities: MessageEntity[]

A list of special entities that appear in the poll option text. It can be specified instead of text_parse_mode