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

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

A button that allows the user to create and send a poll when pressed; available only in private

Constructors

new
KeyboardButtonRequestPoll_(params: { quiz?: boolean; text: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
quiz: boolean

If set, only quiz polls can be sent

text: string

Button text

Static Properties

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