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

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

An attempt to write a Deno-native MTProto client
Go to Latest
class PollResults
import { PollResults } from "https://deno.land/x/mtkruto@0.0.62/tl/2_types.ts";

Constructors

new
PollResults(params: { min?: true; results?: Array<TypePollAnswerVoters>; totalVoters?: number; recentVoters?: Array<bigint>; solution?: string; solutionEntities?: Array<TypeMessageEntity>; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
optional
min: true
optional
recentVoters: Array<bigint>
optional
results: Array<TypePollAnswerVoters>
optional
solution: string
optional
solutionEntities: Array<TypeMessageEntity>
optional
totalVoters: number

Static Properties

readonly
[paramDesc]: ParamDesc