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

x/grammy_types/mod.ts>KeyboardButton.RequestPollButton

Type declarations of the Telegram Bot API.
Go to Latest
interface KeyboardButton.RequestPollButton
implements CommonButton
import { type KeyboardButton } from "https://deno.land/x/grammy_types@v3.6.1/mod.ts";
const { RequestPollButton } = 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.