Skip to main content
Module

x/grm/mod.ts>tl.Api.Poll

MTProto API Client for Deno 🦕
Go to Latest
class tl.Api.Poll
extends VirtualClass<{ id: long; closed?: boolean; publicVoters?: boolean; multipleChoice?: boolean; quiz?: boolean; question: string; answers: Api.TypePollAnswer[]; closePeriod?: int; closeDate?: int; }>
import { tl } from "https://deno.land/x/grm@0.6.0/mod.ts";
const { Poll } = tl.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