Skip to main content
Module

x/grammy_hydrate/deps.deno.ts>KeyboardButton.RequestPollButton

Hydration plugin for API calls and context objects.
Latest
interface KeyboardButton.RequestPollButton
implements CommonButton
import { type KeyboardButton } from "https://deno.land/x/grammy_hydrate@v1.4.1/deps.deno.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.