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

x/grammy_types/markup.ts>InlineKeyboardButton.PayButton

Type declarations of the Telegram Bot API.
Go to Latest
interface InlineKeyboardButton.PayButton
implements AbstractInlineKeyboardButton
import { type InlineKeyboardButton } from "https://deno.land/x/grammy_types@v3.5.0/markup.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.