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

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

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class Poll_
extends _Poll_
import { Poll_ } from "https://deno.land/x/mtkruto@0.1.130/tl/2_types.ts";

Constructors

new
Poll_(params: { id: bigint; closed?: true; public_voters?: true; multiple_choice?: true; quiz?: true; question: string; answers: Array<enums.PollAnswer>; close_period?: number; close_date?: number; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
answers: Array<enums.PollAnswer>
optional
close_date: number
optional
close_period: number
optional
closed: true
id: bigint
optional
multiple_choice: true
optional
public_voters: true
question: string
optional
quiz: true

Static Properties

readonly
[name]
readonly
[paramDesc]: ParamDesc