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

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

A possible answer of a poll

Constructors

new
PollAnswer_(params: { text: string; option: Uint8Array; })

Properties

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

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

text: string

Textual representation of the answer

Static Properties

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