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_sendVote_

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

Vote in a poll

Constructors

new
messages_sendVote_(params: { peer: enums.InputPeer; msg_id: number; options: Array<Uint8Array>; })

Properties

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

The message ID of the poll

options: Array<Uint8Array>

The options that were chosen

peer: enums.InputPeer

The chat where the poll was sent

Static Properties

__F: (params: { peer: enums.InputPeer; msg_id: number; options: Array<Uint8Array>; }) => enums.Updates
readonly
[name]: string
readonly
[paramDesc]: ParamDesc