Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/3_functions.ts>messages_getPollVotes_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class messages_getPollVotes_
extends Function_<enums.messages.VotesList>
import { messages_getPollVotes_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

Get poll results for non-anonymous polls

Constructors

new
messages_getPollVotes_(params: { peer: enums.InputPeer; id: number; option?: Uint8Array; offset?: string; limit: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
id: number

Message ID

limit: number

Number of results to return

optional
offset: string

Offset for results, taken from the next_offset field of messages.votesList, initially an empty string.
Note: if no more results are available, the method call will return an empty next_offset; thus, avoid providing the next_offset returned in messages.votesList if it is empty, to avoid an infinite loop.

optional
option: Uint8Array

Get only results for the specified poll option

peer: enums.InputPeer

Chat where the poll was sent

Static Properties

__F: (params: { peer: enums.InputPeer; id: number; option?: Uint8Array; offset?: string; limit: number; }) => enums.messages.VotesList
readonly
[name]: string
readonly
[paramDesc]: ParamDesc