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

x/grm/src/tl/api.js>Api.Poll

MTProto API Client for Deno 🦕
Go to 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.6.0/src/tl/api.js";
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