Module

x/grammy/types.deno.ts>InputPollOption

The Telegram Bot Framework.
Very Popular
Latest
interface InputPollOption
import { type InputPollOption } from "https://dotland.deno.dev/x/grammy@v1.31.3/types.deno.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

import InputPollOption
import { InputPollOption } from "https://dotland.deno.dev/x/grammy@v1.31.3/types.deno.ts";