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

x/mtkruto/mod.ts>types.Poll

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class types.Poll
extends _TypePoll
import { types } from "https://deno.land/x/mtkruto@0.1.105/mod.ts";
const { Poll } = types;

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