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

x/grm/src/tl/mod.ts>Api.PollResults

MTProto API Client for Deno 🦕
Go to Latest
class Api.PollResults
extends VirtualClass<{ min?: boolean; results?: Api.TypePollAnswerVoters[]; totalVoters?: int; recentVoters?: long[]; solution?: string; solutionEntities?: Api.TypeMessageEntity[]; }>
import { Api } from "https://deno.land/x/grm@0.5.1/src/tl/mod.ts";
const { PollResults } = Api;

Properties

className: "PollResults"
classType: "constructor"
CONSTRUCTOR_ID: 3703058083
optional
min: boolean
optional
recentVoters: long[]
optional
results: Api.TypePollAnswerVoters[]
optional
solution: string
optional
solutionEntities: Api.TypeMessageEntity[]
SUBCLASS_OF_ID: 3283416711
optional
totalVoters: int

Static Methods

fromReader(reader: Reader): PollResults