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>PollAnswerVoters_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class PollAnswerVoters_
import { PollAnswerVoters_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

A poll answer, and how users voted on it

Constructors

new
PollAnswerVoters_(params: { chosen?: true; correct?: true; option: Uint8Array; voters: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
chosen: true

Whether we have chosen this answer

optional
correct: true

For quizzes, whether the option we have chosen is correct

option: Uint8Array

The param that has to be passed to messages.sendVote.

voters: number

How many users voted for this option

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc