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

x/grm/tl/api.d.ts>Api.Poll

MTProto API Client for Deno 🦕
Latest
class Api.Poll
extends VirtualClass<{ id: long; closed?: boolean; publicVoters?: boolean; multipleChoice?: boolean; quiz?: boolean; question: string; answers: Api.TypePollAnswer[]; closePeriod?: int; closeDate?: int; }>
import { Api } from "https://deno.land/x/grm@0.8.2/tl/api.d.ts";
const { Poll } = Api;

Properties

className: "Poll"
classType: "constructor"
optional
closed: boolean
optional
closeDate: int
optional
closePeriod: int
CONSTRUCTOR_ID: 2262925665
id: long
optional
multipleChoice: boolean
optional
publicVoters: boolean
question: string
optional
quiz: boolean
SUBCLASS_OF_ID: 613307771