Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.141/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