Module

x/grammy/types.deno.ts>PollAnswer

The Telegram Bot Framework.
Very Popular
Latest
interface PollAnswer
import { type PollAnswer } from "https://dotland.deno.dev/x/grammy@v1.31.3/types.deno.ts";

This object represents an answer of a user in a non-anonymous poll.

Properties

poll_id: string

Unique poll identifier

optional
voter_chat: Chat

The chat that changed the answer to the poll, if the voter is anonymous

optional
user: User

The user that changed the answer to the poll, if the voter isn't anonymous

option_ids: number[]

0-based identifiers of chosen answer options. May be empty if the vote was retracted.

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