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

x/grammy_autoquote/deps.deno.ts>PollAnswer

grammY plugin that forces all sent messages to quote the last received one
Go to Latest
interface PollAnswer
Re-export
import { type PollAnswer } from "https://deno.land/x/grammy_autoquote@v2.0.0/deps.deno.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.