Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/grammy_types/mod.ts>PollOption

Type declarations of the Telegram Bot API.
Very Popular
Go to Latest
interface PollOption
import { type PollOption } from "https://deno.land/x/grammy_types@v3.5.2/mod.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