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

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

How users voted in a poll

Constructors

new
messages_VotesList_(params: { count: number; votes: Array<enums.MessagePeerVote>; chats: Array<enums.Chat>; users: Array<enums.User>; next_offset?: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
chats: Array<enums.Chat>

Mentioned chats

count: number

Total number of votes for all options (or only for the chosen option, if provided to messages.getPollVotes)

optional
next_offset: string

Offset to use with the next messages.getPollVotes request, empty string if no more results are available.

users: Array<enums.User>

Info about users that voted in the poll

votes: Array<enums.MessagePeerVote>

Vote info for each user

Static Properties

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