Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/tl/2_types.ts>Poll

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class Poll
extends TypePoll
import { Poll } from "https://deno.land/x/mtkruto@0.0.820/tl/2_types.ts";

Constructors

new
Poll(params: { id: bigint; closed?: true; publicVoters?: true; multipleChoice?: true; quiz?: true; question: string; answers: Array<TypePollAnswer>; closePeriod?: number; closeDate?: number; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
answers: Array<TypePollAnswer>
optional
closed: true
optional
closeDate: number
optional
closePeriod: number
id: bigint
optional
multipleChoice: true
optional
publicVoters: true
question: string
optional
quiz: true

Static Properties

readonly
[paramDesc]: ParamDesc