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

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

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class Poll
extends _TypePoll
import { Poll } from "https://deno.land/x/mtkruto@0.1.105/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