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.5.2/mod.ts";
const { Poll } = tl.Api;
Properties
answers: Api.TypePollAnswer[]
Static Methods
fromReader(reader: Reader): Poll