Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy/types.deno.ts>PollOption

The Telegram Bot Framework.
Go to Latest
interface PollOption
import { type PollOption } from "https://deno.land/x/grammy@v1.15.3/types.deno.ts";

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

Properties

text: string

Option text, 1-100 characters

voter_count: number

Number of users that voted for this option