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

x/mtkruto/3_types.ts>Poll

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface Poll
Re-export
import { type Poll } from "https://deno.land/x/mtkruto@0.1.147/3_types.ts";

Properties

id: string
question: string
options: PollOption[]
totalVoterCount: number
isClosed: boolean
isAnonymous: boolean
type: "regular" | "quiz"
optional
allowMultipleAnswers: boolean
optional
correctOptionIndex: number
optional
explanation: string
optional
explanationEntities: MessageEntity[]
optional
openPeriod: number
optional
closeDate: Date