Skip to main content
Module

x/mtkruto/mod.ts>tl.types.Poll

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