Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/3_types.ts>KeyboardButton.RequestPoll

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface KeyboardButton.RequestPoll
implements Text
import { type KeyboardButton } from "https://deno.land/x/mtkruto@0.1.0/3_types.ts";
const { RequestPoll } = KeyboardButton;

Properties

If specified, the user will be asked to create a poll and send it to the bot when the button is pressed. Available in private chats only.