Skip to main content
Module

x/grammy_hydrate/deps.deno.ts>InlineKeyboardButton.PayButton

Hydration plugin for API calls and context objects.
Latest
interface InlineKeyboardButton.PayButton
implements AbstractInlineKeyboardButton
import { type InlineKeyboardButton } from "https://deno.land/x/grammy_hydrate@v1.4.1/deps.deno.ts";
const { PayButton } = InlineKeyboardButton;

Properties

pay: boolean

Specify True, to send a Pay button.

NOTE: This type of button must always be the first button in the first row and can only be used in invoice messages.