Module

x/grammy/types.ts>PollAnswer

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

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

Properties

poll_id: string

Unique poll identifier

user: User

The user, who changed the answer to the poll

option_ids: number[]

0-based identifiers of answer options, chosen by the user. May be empty if the user retracted their vote.

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