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