Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface grammy.InlineKeyboardButton.PayButton
implements AbstractInlineKeyboardButton
import { type grammy } from "https://deno.land/x/abstract_bot_api@85.0.0/deps.ts";
const { PayButton } = grammy.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.